[asterisk-bugs] [Asterisk 0012665]: Whenever I reload, asterisk stops logging to /var/log/asterisk/messages.

noreply at bugs.digium.com noreply at bugs.digium.com
Mon May 19 10:57:32 CDT 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12665 
====================================================================== 
Reported By:                DennisD
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   12665
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0-beta8 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-15-2008 22:20 CDT
Last Modified:              05-19-2008 10:57 CDT
====================================================================== 
Summary:                    Whenever I reload, asterisk stops logging to
/var/log/asterisk/messages.
Description: 
If I issue an asterisk CLI reload or reload logger, asterisk stops
logging.

It doesn't seem to close /var/log/asterisk/messages, it just stops writing
to it.

I looked through main/logger.c but I am unable to figure out why it is
doing this.

I find it difficult to believe that no one else has seen this, so there's
a good chance I'm doing something strange.  I think I first saw this in
beta 8, but I didn't realize it was because of a reload.  

Please let me know if you need me to provide anything else (i.e. you can't
reproduce it).  

I wasn't sure what category to put this in, so I put it in General.

====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 05-19-08 10:57  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 117085

U   trunk/main/logger.c

------------------------------------------------------------------------
r117085 | file | 2008-05-19 10:57:30 -0500 (Mon, 19 May 2008) | 4 lines

The logger closes the files it is logging to when reloading so we have to
read in the logger configuration even if it has not changed so that the
logs get opened again.
(closes issue http://bugs.digium.com/view.php?id=12665)
Reported by: DennisD

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-19-08 10:57  svnbot         Note Added: 0087014                          
05-19-08 10:57  svnbot         Status                   new => assigned     
05-19-08 10:57  svnbot         Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list