summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-03-03 17:56:29 +0000
committerGerald Carter <jerry@samba.org>2004-03-03 17:56:29 +0000
commit7ac1750de20edf1b315feb8648f292ff82e92c21 (patch)
tree047ea65bd370ca4a02f17820164a149732d03412 /packaging
parentb737769a7477351f7f9670e14b06728b9df46389 (diff)
downloadsamba-7ac1750de20edf1b315feb8648f292ff82e92c21.tar.gz
samba-7ac1750de20edf1b315feb8648f292ff82e92c21.tar.bz2
samba-7ac1750de20edf1b315feb8648f292ff82e92c21.zip
set log file to smbd.log for interaction with logrotate (BUG 503)
(This used to be commit c800b5c2f99c27dd0a3f526dfdac0980412e1694)
Diffstat (limited to 'packaging')
-rw-r--r--packaging/Fedora/smb.conf4
-rw-r--r--packaging/RedHat/smb.conf4
2 files changed, 6 insertions, 2 deletions
diff --git a/packaging/Fedora/smb.conf b/packaging/Fedora/smb.conf
index 74806da16b..5c06c445b3 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 74806da16b..cdc958bc0e 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