From a6868017226d88bcbe016866dbd110079eb20d94 Mon Sep 17 00:00:00 2001 From: "pbos@webrtc.org" Date: Mon, 27 Oct 2014 09:31:05 +0000 Subject: Increase max trace message size to 1024 characters. A recent CL by pbos: https://code.google.com/p/webrtc/source/detail?r=7518 added long log messages and triggered errors on the DrMemory bot due to WEBRTC_TRACE. The trace mechanism _should_ truncate the log strings but something appears to be going awry. This sweeps the problem under the rug, but given that WEBRTC_TRACE should die fairly soon, seems to be a reasonable tradeoff. TEST=passing try on DrMemory. R=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/27849004 Patch from Andrew MacDonald . git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7526 4adac7df-926f-26a2-2b94-8c16560cd09d --- system_wrappers/source/trace_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system_wrappers/source') diff --git a/system_wrappers/source/trace_impl.h b/system_wrappers/source/trace_impl.h index 9e6e0a2d..5548e984 100644 --- a/system_wrappers/source/trace_impl.h +++ b/system_wrappers/source/trace_impl.h @@ -30,7 +30,7 @@ namespace webrtc { #define WEBRTC_TRACE_MAX_QUEUE 8000 #endif #define WEBRTC_TRACE_NUM_ARRAY 2 -#define WEBRTC_TRACE_MAX_MESSAGE_SIZE 256 +#define WEBRTC_TRACE_MAX_MESSAGE_SIZE 1024 // Total buffer size is WEBRTC_TRACE_NUM_ARRAY (number of buffer partitions) * // WEBRTC_TRACE_MAX_QUEUE (number of lines per buffer partition) * // WEBRTC_TRACE_MAX_MESSAGE_SIZE (number of 1 byte charachters per line) = -- cgit v1.2.3