summaryrefslogtreecommitdiff
path: root/system_wrappers/source
diff options
context:
space:
mode:
authorpbos@webrtc.org <pbos@webrtc.org>2014-10-27 09:31:05 +0000
committerpbos@webrtc.org <pbos@webrtc.org>2014-10-27 09:31:05 +0000
commita6868017226d88bcbe016866dbd110079eb20d94 (patch)
tree8b849b9173f925a62455ad22030a7ea099e193ee /system_wrappers/source
parent89ef05468e051aa5a4444c662d7c482ebad0511e (diff)
downloadwebrtc-a6868017226d88bcbe016866dbd110079eb20d94.tar.gz
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 <andrew@webrtc.org>. git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7526 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'system_wrappers/source')
-rw-r--r--system_wrappers/source/trace_impl.h2
1 files changed, 1 insertions, 1 deletions
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) =