[asterisk-dev] option for timestamps in log messages
Mr. James W. Laferriere
babydr at baby-dragons.com
Fri Jul 28 08:37:05 MST 2006
Hello All ,
On Fri, 28 Jul 2006, Rich Adamson wrote:
> Russell Bryant wrote:
>> On Fri, 2006-07-28 at 05:30 -0200, Kaloyan Kovachev wrote:
>>> In 1.2 timstamps option in asterisk.conf have added timestamps not just in
>>> logs (actually changes the way they appear), but also to the cli for all
>>> actions including dialplan messages and devices registration.
>>> In trunk it does nothing - with or without it, timestamps are included
>>> only
>>> for the log messages, not for the dialplan actions.
>>> I guess the initial idea of timestamps option was for the cli, not for the
>>> log
>>> files and i am definitely missing it in trunk
>>
>> Sure enough. I did see the code that looked like it was intended to add
>> timestamps the CLI verbose output, but I figured it never worked. In
>> fact, it is correct in the 1.2 branch and was broken at some point in
>> the trunk.
>>
>> In that case, I suppose I would propose keeping the option, but only
>> having it apply to the CLI verbose output, and always having the
>> timestamp in the logs.
>
> FWIW, I'd vote +10 for that approach.
If we are voting I also recommend the last sentence from
Russell Bryan be the default . Tia , JimL
--
+----------------------------------------------------------------------+
| James W. Laferriere | System Techniques | Give me VMS |
| Network Engineer | 3600 14th Ave SE #20-103 | Give me Linux |
| babydr at baby-dragons.com | Olympia , WA. 98501 | only on AXP |
+----------------------------------------------------------------------+
More information about the asterisk-dev
mailing list