[Home]

Summary:ASTERISK-04813: [patch] event_log = no causes asterisk to not start
Reporter:Brett Nemeroff (brettnem)Labels:
Date Opened:2005-08-11 02:28:59Date Closed:2011-06-07 14:02:39
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/Configuration
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) loggfix.txt
Description:When I have the text:
event_log = no

in my logger.conf file in the [general] section, Asterisk will not start. I'm not entirely sure how asterisk is dying since it doesn't appear to be segfaulting. It almost appears to be dying gracefully without any warnings or errors.

I also have the following in logger.conf:
[logfiles]
full => notice,warning,error,debug,verbose

and NOTHING is produced in /var/log/asterisk/full


****** ADDITIONAL INFORMATION ******

Asterisk startup looks like this:
[root@voip root]# asterisk -cccvvvddd
Parsing /etc/asterisk/asterisk.conf
Parsing /etc/asterisk/extconfig.conf
Asterisk CVS-HEAD, Copyright (C) 1999 - 2005 Digium.
Written by Mark Spencer <markster@digium.com>
=========================================================================
[root@voip root]#
[root@voip root]#
<here asterisk is not running>
Comments:By: Olle Johansson (oej) 2005-08-11 08:22:36

Confirmed.

By: Olle Johansson (oej) 2005-08-11 08:29:17

Try this patch.

Disclaimer on file.

By: Olle Johansson (oej) 2005-08-12 14:18:41

Please try the patch and confirm if it fixes the problem!

By: Brett Nemeroff (brettnem) 2005-08-15 10:52:21

Patch fixed the problem nicely. Thanks for the quick response!

By: Olle Johansson (oej) 2005-08-15 11:56:40

Ok, ready for CVS

By: Mark Spencer (markster) 2005-08-15 15:32:43

Fixed in CVS head, thanks!

By: Tilghman Lesher (tilghman) 2005-08-17 11:14:30

Feature not applicable to STABLE

By: Digium Subversion (svnbot) 2008-01-15 15:44:29.000-0600

Repository: asterisk
Revision: 6337

U   trunk/logger.c

------------------------------------------------------------------------
r6337 | markster | 2008-01-15 15:44:29 -0600 (Tue, 15 Jan 2008) | 2 lines

Allow Asterisk to start even when eventlog is turned off (bug ASTERISK-4813)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=6337