[asterisk-dev] option for timestamps in log messages

Steven critch at basesys.com
Thu Jul 27 19:41:02 MST 2006


On Thu, 2006-07-27 at 22:01 -0400, Russell Bryant wrote:
> While working on improving some code in logger.c, I noticed that the
> option to provide timestamps in log messages is totally bogus.  The
> timestamp will be included in the log message regardless of the value of
> the option.
> 
> I started working on fixing the option so that it worked properly, but
> I'm not sure it's worth it.  I can't imagine that anyone would actually
> complain about having timestamps in their logs and want to be able to
> turn them off.
> 
> I would like to propose removing the option all together and make it the
> default, and only behavior.

Only reason I could think it might be interesting to remove timestamps
is if there was an option to run a small buffer and be able to do like
syslog and be able to reduce repeated messages to one copy and the
number of repeats at flush time. But then again, at final write time, it
would be nice if it had timestamps. 
-- 
Steven <critch at basesys.com>




More information about the asterisk-dev mailing list