set log file to smbd.log for interaction with logrotate (BUG 503)
authorGerald Carter <jerry@samba.org>
Wed, 3 Mar 2004 17:56:29 +0000 (17:56 +0000)
committerGerald Carter <jerry@samba.org>
Wed, 3 Mar 2004 17:56:29 +0000 (17:56 +0000)
packaging/Fedora/smb.conf
packaging/RedHat/smb.conf

index 74806da16bb43db6f66c9d0cf7773174fb79d318..5c06c445b314d2afb9c1e63cc42ed250ec3d54f5 100644 (file)
@@ -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
index 74806da16bb43db6f66c9d0cf7773174fb79d318..cdc958bc0e00d662bfed962e8d860c7ec723675e 100644 (file)
@@ -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