new smb.conf parameter

Jeremy Allison jra at samba.org
Sat Mar 10 05:31:47 GMT 2007


On Fri, Mar 09, 2007 at 02:50:09PM -0800, Herb Lewis wrote:
> I would like to propose adding a new smb.conf parameter
> to allow a short timestamp header to be added to DEBUG
> messages. Having debug timestamp set basically doubles
> the number of lines in your log file but without it you
> have no timestamps to correlate with other system events.
> 
> I was thinking of calling it timestamponly and default to
> False. If it is set then the timestamp (all the stuff
> between the [] which could include pid, etc.) is added
> to the beginning of the debug message without a newline
> so it comes out on the same line as the message.

How about calling it "short timestamp logs" or something
related (don't really like the name, but something similar
should do...).

> Here is a proposed patch against 3.0.25. Does this look
> useful to people or not?

I think people will use it, definately.

Jeremy.


More information about the samba-technical mailing list