[asterisk-dev] [Code Review] log Asterisk Version number, Build etc into log file

Alec Davis reviewboard at asterisk.org
Sun Sep 4 18:17:15 CDT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1409/
-----------------------------------------------------------

(Updated Sept. 4, 2011, 6:17 p.m.)


Review request for Asterisk Developers.


Changes
-------

WIP:
Now each log file as it is created will now have the Version + Build etc.
But it segfaults ;( so is currentyl commented out.

I'm out of time, but the idea is there.


Summary
-------

When the question is asked what was the last version that worked? You'd of thought looking through the logs it would be reported.


Diffs (updated)
-----

  trunk/main/logger.c 333893 

Diff: https://reviewboard.asterisk.org/r/1409/diff


Testing
-------

asterix:/var/log/asterisk# head messages
[2011-09-03 16:41:56.778997] NOTICE[17261] loader.c: Asterisk SVN-trunk-r333838M built by root @ asterix on a i686 running Linux on 2011-05-27 11:52:02 UTC
[2011-09-03 16:41:56.779446] NOTICE[17261] loader.c: 1 modules will be loaded.


Thanks,

Alec

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110904/7c34ad53/attachment.htm>


More information about the asterisk-dev mailing list