[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:59:23 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             05-15-2008 22:20 CDT
Last Modified:              05-19-2008 10:59 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:59  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 117087

_U  branches/1.6.0/
U   branches/1.6.0/main/logger.c

------------------------------------------------------------------------
r117087 | file | 2008-05-19 10:59:22 -0500 (Mon, 19 May 2008) | 12 lines

Merged revisions 117085 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r117085 | file | 2008-05-19 13:03:33 -0300 (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=117087 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-19-08 10:59  svnbot         Checkin                                      
05-19-08 10:59  svnbot         Note Added: 0087015                          
======================================================================




More information about the asterisk-bugs mailing list