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

Alec Davis reviewboard at asterisk.org
Mon Sep 5 04:20:58 CDT 2011


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

(Updated Sept. 5, 2011, 4:20 a.m.)


Review request for Asterisk Developers.


Changes
-------

As each 'log file' is created log the same line as 'core show version' would show.

excludes 'console' and 'syslog'


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 (updated)
-------

asterix:/var/log/asterisk# head messages
Asterisk SVN-trunk-r333838M built by root @ asterix on a i686 running Linux on 2011-05-27 11:52:02 UTC
[2011-09-05 21:13:25.672533] NOTICE[27089] loader.c: 1 modules will be loaded.
[2011-09-05 21:13:25.693952] WARNING[27089] http.c: Got 1 addresses


Thanks,

Alec

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


More information about the asterisk-dev mailing list