[Samba] Question about log file format
jra at samba.org
Fri Jan 9 11:13:45 MST 2015
On Fri, Jan 09, 2015 at 12:05:00PM +0100, Meike Stone wrote:
> Hello and happy new year!
> I've a configured logging in the smb.conf as following
> vfs objects = extd_audit
> debug uid = yes
> debug pid = yes
> log level = 0 vfs:2
> syslog = 0
> log file = /var/log/smbduserlogs/%U.log
> max log size = 1024
> a example of a resulting lines looks like:
> [2015/01/08 14:48:48.124825, 2, pid=19808, effective(51002, 100),
> real(0, 0)]modules/vfs_extd_audit.c:259(audit_unlink.....
> [2015/01/08 13:43:59.147208, 0, pid=41390, effective(50038, 100), real(0, 0)]
> Because of the splitting in diffident logfiles, one logfile represents
> one smbd process.
> In one file, I see different numbers for this field.
> Can someone tell me please, what the number before pid represents?
That's the specific log level number that this particular
debug statement was set to inside the code.
More information about the samba