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

Alec Davis reviewboard at asterisk.org
Mon Sep 5 05:58:41 CDT 2011


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

(Updated Sept. 5, 2011, 5:58 a.m.)


Review request for Asterisk Developers.


Changes
-------

Olle:

Just as I'd like it too.
22:52:33 was a logger rotate
22:52:46 was restart

head /var/log/asterisk/messages
[2011-09-05 22:52:33.658283] Asterisk SVN-trunk-r333838M built by root @ asterix on a i686 running Linux on 2011-05-27 11:52:02 UTC
[2011-09-05 22:52:46.766707] Asterisk SVN-trunk-r333838M built by root @ asterix on a i686 running Linux on 2011-05-27 11:52:02 UTC
[2011-09-05 22:52:46.871714] NOTICE[4644] loader.c: 1 modules will be loaded.


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
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/6eaf5c71/attachment.htm>


More information about the asterisk-dev mailing list