I followed this description on how to enable audit for Samba (entry of Aug 10, 2009) and wanted to get all additionally enabled logging in a special log file (/var/log/samba/log.audit).  The mentioned line local7.* /var/log/samba/log.audit I placed at the end of my existing /etc/rsyslog.conf file.  It seemed a bit out of place there, but after restarting everything, the mentioned file was created, presumably by the syslog daemon, so I assumed this was working.But it stayed at a size of 0 bytes.  After creation of the file, nothing was logged there.It took me some time but then I found that all logging was done into the default syslog file (/var/log/syslog).I guess the config line in /etc/rsyslog.conf is correct, but somehow the way it was supposed to be addressed in the /etc/samba/smb.conf is not working.I repeat in short what the blog above suggested to do:Add the linesvfs objects = full_auditfull_audit:prefix = %u|%I|%m|%Sfull_audit:success = mkdir rename unlink rmdir pwritefull_audit:failure = nonefull_audit:facility = local7full_audit:priority = NOTICEto the existing smb.conf and add the linelocal7.*                        /var/log/samba/log.auditto the syslog.conf (I took my existing /etc/rsyslog.conf for this).Can anybody tell me how to fix this so that the logging is done into the intended file /var/log/samba/log.audit?
rsyslog.conf only partly honored
linux;logs;samba;syslog;rsyslog