[Samba] Question about log file format

Meike Stone meike.stone at googlemail.com
Fri Jan 9 04:05:00 MST 2015

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?

Thanks Meike

PS: I it possible, to disable the line wraping in the log file?

More information about the samba mailing list