Need guidance in enabling logging

Marc Muehlfeld mmuehlfeld at
Wed Jun 4 13:55:26 MDT 2014

Hello Adarsha,

Am 04.06.2014 14:33, schrieb Adarsha S:
> I need to enable logging of samba.
> I added below lines in the smb.conf file:
> log level = 1
> log file = /var/log/samba/log


        log file = /var/log/samba/%m.log
        debug pid = yes
        log level = 1
        max log size = 5000

Then restart Samba. This will create a separate logfile for every
machine. Of course the destination folder must exist.

But your configuration should at least give you one logfile, where
everything is logged into.


More information about the samba-technical mailing list