[4.0] 39a3455 Insert a newline before the actual panic message in order to avoid line wrapping

Poul-Henning Kamp phk at FreeBSD.org
Tue Jun 24 11:31:46 CEST 2014


commit 39a3455f894ed68ff1d6e55721e05aca5c2fab20
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue May 13 07:36:23 2014 +0000

    Insert a newline before the actual panic message in order to
    avoid line wrapping

diff --git a/bin/varnishd/mgt/mgt_child.c b/bin/varnishd/mgt/mgt_child.c
index 3c739f1..1ae0c0e 100644
--- a/bin/varnishd/mgt/mgt_child.c
+++ b/bin/varnishd/mgt/mgt_child.c
@@ -121,7 +121,7 @@ mgt_panic_record(pid_t r)
 	char time_str[30];
 
 	AN(heritage.panic_str[0]);
-	REPORT(LOG_ERR, "Child (%jd) Panic message: %s",
+	REPORT(LOG_ERR, "Child (%jd) Panic message:\n%s",
 	    (intmax_t)r, heritage.panic_str);
 
 	if (child_panic != NULL)



More information about the varnish-commit mailing list