summaryrefslogtreecommitdiffstats
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
commitc800b5c2f99c27dd0a3f526dfdac0980412e1694 (patch)
tree84a83c6fd1d2a20c5b70835f1bbf1e8654839a40 /packaging
parent832674c099a3ff9bb747dba6235e47d40a930abd (diff)
downloadsamba-c800b5c2f99c27dd0a3f526dfdac0980412e1694.tar.gz
samba-c800b5c2f99c27dd0a3f526dfdac0980412e1694.tar.xz
samba-c800b5c2f99c27dd0a3f526dfdac0980412e1694.zip
set log file to smbd.log for interaction with logrotate (BUG 503)
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 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