From 7ac1750de20edf1b315feb8648f292ff82e92c21 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 3 Mar 2004 17:56:29 +0000 Subject: [PATCH] set log file to smbd.log for interaction with logrotate (BUG 503) (This used to be commit c800b5c2f99c27dd0a3f526dfdac0980412e1694) --- packaging/Fedora/smb.conf | 4 +++- packaging/RedHat/smb.conf | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packaging/Fedora/smb.conf b/packaging/Fedora/smb.conf index 74806da16bb..5c06c445b31 100644 --- a/packaging/Fedora/smb.conf +++ b/packaging/Fedora/smb.conf @@ -43,7 +43,9 @@ # this tells Samba to use a separate log file for each machine # that connects - log file = /var/log/samba/log.%m + #log file = /var/log/samba/log.%m +# all information in one file + log file = /var/log/samba/log.smbd # Put a capping on the size of the log files (in Kb). max log size = 50 diff --git a/packaging/RedHat/smb.conf b/packaging/RedHat/smb.conf index 74806da16bb..cdc958bc0e0 100644 --- a/packaging/RedHat/smb.conf +++ b/packaging/RedHat/smb.conf @@ -43,7 +43,9 @@ # this tells Samba to use a separate log file for each machine # that connects - log file = /var/log/samba/log.%m + # log file = /var/log/samba/log.%m +# all log information in one file + log file = /var/log/samba/smbd.log # Put a capping on the size of the log files (in Kb). max log size = 50 -- 2.11.4.GIT