[Samba] splitting/duplicating log files - how?
rpenny at samba.org
Tue Oct 15 09:54:31 UTC 2019
On 15/10/2019 10:29, lejeczek via samba wrote:
> hi everyone
> I'd like to ask, with having basic logging in config as here:
> log file = /var/log/samba/log.%m
> max log size = 5000
> log level = 1 auth:3 tdb:5 passdb:3 sam:3 winbind:0 idmap:3
> log files get populated on per-machine basis.
> Would it be possible to put all authentication into one separate file
> many thanks, L.
Never felt the need to do it myself, but smb.conf says this under 'log
To configure the logging for specific classes to go into a different
file then log file, you can append @PATH to the class, eg log level = 1
More information about the samba