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@7526 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -30,7 +30,7 @@ namespace webrtc {
|
|||||||
#define WEBRTC_TRACE_MAX_QUEUE 8000
|
#define WEBRTC_TRACE_MAX_QUEUE 8000
|
||||||
#endif
|
#endif
|
||||||
#define WEBRTC_TRACE_NUM_ARRAY 2
|
#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) *
|
// 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_QUEUE (number of lines per buffer partition) *
|
||||||
// WEBRTC_TRACE_MAX_MESSAGE_SIZE (number of 1 byte charachters per line) =
|
// WEBRTC_TRACE_MAX_MESSAGE_SIZE (number of 1 byte charachters per line) =
|
||||||
|
Reference in New Issue
Block a user