I have a samba share configured to allow logging of file access:
I added this line to /etc/newsyslog.conf:
Lastly, I added this line to /etc/syslog.conf:
Samba has this line in the global section:
My problem is that the log data that I am expecting to see in the samba log file is also being sent to syslog. I would very much prefer to keep these separate, as the samba log fills up swiftly and other relevant messages in the syslog won't be as noticeable.
How can these be separated?
Code:
[home]
comment = Home Directory
path=/home/%u
vfs objects = full_audit
full_audit:prefix = %u|%I|%m|%s
full_audit:success = open opendir read pwrite unlink rmdir pread write sendfile ftruncate
full_audit:failure = connect disconnect open close read pread write prwite sendfile ftruncate lock readlink
full_audit:facility = LOCAL7
full_audit:priority = ALERT
...
I added this line to /etc/newsyslog.conf:
Code:
/var/log/samba/audit.log 640 50 100 * JC
Lastly, I added this line to /etc/syslog.conf:
Code:
local7.* /var/log/samba/audit.log
Samba has this line in the global section:
Code:
syslog = 0
My problem is that the log data that I am expecting to see in the samba log file is also being sent to syslog. I would very much prefer to keep these separate, as the samba log fills up swiftly and other relevant messages in the syslog won't be as noticeable.
How can these be separated?