[asterisk-commits] mjordan: branch 11 r389677 - in /branches/11: ./ main/logger.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 24 06:49:11 CDT 2013


Author: mjordan
Date: Fri May 24 06:49:08 2013
New Revision: 389677

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=389677
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

Modified:
    branches/11/   (props changed)
    branches/11/main/logger.c

Propchange: branches/11/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/11/main/logger.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/main/logger.c?view=diff&rev=389677&r1=389676&r2=389677
==============================================================================
--- branches/11/main/logger.c (original)
+++ branches/11/main/logger.c Fri May 24 06:49:08 2013
@@ -1172,10 +1172,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