Samba 3.0 Logging Seems to Stop

Andrew Bartlett abartlet at samba.org
Wed Dec 31 22:42:44 GMT 2003


On Wed, Dec 31, 2003 at 07:44:24AM -0600, Dave Augustus wrote:
> Hello Fellow Listers,
> 
> I have turned on logging with the following in smb.conf:
> 
> log file = /var/log/samba/log.%m
> log level = 5
> 
> The following seems to stop (ie- no more output) after about 5 minutes
> or so:
> 
> tail -f /var/log/samba/log.winbindd
> 
> I press Ctrl-C to exit tail, rerun the above command and tada! the
> logging seems to be working again.
> 
> This only happens when "tailing" samba log files.

Samba has reached it's max logfile size, and has rotated the logs.
see log.winbindd.old.  This means that 'tail' still has the original
file open (now renamed) but samba is writing to the new file.

Andrew Bartlett


More information about the samba-technical mailing list