Need guidance in enabling logging
Richard Sharpe
realrichardsharpe at gmail.com
Wed Jun 4 15:23:55 MDT 2014
Actually, there is no need to restart Samba. killall -HUP smbd should do
it.
Also, you should upgrade to a more recent version of Samba. 3.5.1 is
ancient.
On Jun 4, 2014 12:55 PM, "Marc Muehlfeld" <mmuehlfeld at samba.org> wrote:
> 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
>
>
> Try:
>
> 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.
>
>
> Regards,
> Marc
>
More information about the samba-technical
mailing list