[asterisk-bugs] [Asterisk 0010933]: Some of the last log messages are lost when terminating Asterisk

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Oct 10 08:26:27 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10933 
====================================================================== 
Reported By:                sperreault
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   10933
Category:                   Addons/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-10-2007 06:38 CDT
Last Modified:              10-10-2007 08:26 CDT
====================================================================== 
Summary:                    Some of the last log messages are lost when
terminating Asterisk
Description: 
When Asterisk terminates, it calls close_logger(). This makes the logger
thread terminate. However, it doesn't wait for its termination. Sometimes,
depending on the scheduling of the threads, the program terminates before
the logger thread has had time to terminate.

Two changes were necessary. See
http://lists.digium.com/pipermail/asterisk-commits/2007-October/016664.html.
Please consider applying to trunk.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 10-10-07 08:26  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 85234

U   trunk/main/logger.c

------------------------------------------------------------------------
r85234 | file | 2007-10-10 08:26:25 -0500 (Wed, 10 Oct 2007) | 4 lines

Process outstanding log messages before shutting down the logger thread.
(closes issue http://bugs.digium.com/view.php?id=10933)
Reported by: sperreault

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-10-07 08:26  svnbot         Note Added: 0071759                          
10-10-07 08:26  svnbot         Status                   new => assigned     
10-10-07 08:26  svnbot         Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list