summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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