[asterisk-commits] mjordan: trunk r389680 - in /trunk: ./ main/logger.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri May 24 06:57:51 CDT 2013
Author: mjordan
Date: Fri May 24 06:57:48 2013
New Revision: 389680
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=389680
Log:
Print all logger messages on shutdown
When Asterisk shuts down and shuts down the loggin gsubsystem, any
messages currently in flight will not get logged. This patch prevents the
loop writing messages from breaking out prematurely, such that all of the
messages are logged.
(closes issue ASTERISK-21716)
Reported by: Corey Farrell
patches:
logger-process-all-messages.patch uploaded by Corey Farrell (license 5909)
........
Merged revisions 389676 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 389677 from http://svn.asterisk.org/svn/asterisk/branches/11
Modified:
trunk/ (props changed)
trunk/main/logger.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.
Modified: trunk/main/logger.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/logger.c?view=diff&rev=389680&r1=389679&r2=389680
==============================================================================
--- trunk/main/logger.c (original)
+++ trunk/main/logger.c Fri May 24 06:57:48 2013
@@ -1190,10 +1190,6 @@
/* Free the data since we are done */
logmsg_free(msg);
}
-
- /* If we should stop, then stop */
- if (close_logger_thread)
- break;
}
return NULL;
More information about the asterisk-commits
mailing list