[PATCH] Bug 10239 - log.nmbd never rotates

Bjoern Baumbach bb at sernet.de
Fri Mar 21 09:20:17 MDT 2014


On 03/21/2014 02:54 PM, Marc Muehlfeld wrote:
> Also on DCs, the logs of the clients are rotated. But there's also one
> logfile named "%m.log" (with your config, It would be called
> "rotateme-please-%m.log"). This one contains output from the samba
> process and not from smbd or the child-smbds forked by connecting
> clients, I think. And this one isn't rotated

Ok, I checked that - I didn't unterstand that there is a log file called
'%m.log' without a common substitution, and I didn't try a samba ad dc.
We should replace this with "samba", like we do that for the nmbd/smbd.

BTW: on my testsystem the samba log does never rotate, regardless of
"log file" is set or not :-)

Best regards
Björn


-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list