Summary: | ASTERISK-10486: Some of the last log messages are lost when terminating Asterisk | ||
Reporter: | Simon Perreault (sperreault) | Labels: | |
Date Opened: | 2007-10-10 06:38:53 | Date Closed: | 2007-10-10 08:26:27 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Addons/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
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. | ||
Comments: | By: Digium Subversion (svnbot) 2007-10-10 08:26:27 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 ASTERISK-10486) Reported by: sperreault ------------------------------------------------------------------------ |