On Sat, May 23, 2015 at 4:46 AM, Randell Jesup <[email protected]> wrote:
>>
>>Various bits of code invented a log level that was less important than
>>debug (I would call this verbose). This was not specified in NSPR logging,
>>but just kind of worked. With the addition of |Info| we can transition code
>>that was using this pseudo log level to:
>>  - map PR_LOG_DEBUG     => Info
>>  - map PR_LOG_DEBUG + 1 => Debug
>>
>>In this case we could have added a |Verbose| log level, but with the
>>addition of |Info| and feeling that fewer is better we have decided against
>>that.
>
> This is used extensively in WebRTC and related media bits to enable
> *huge* amounts of debugs (like every-frame debugs for audio or video or
> per-network-packet debugs, which will swamp a system normally), and since
> people are used to enabling "debug" on random modules (or all:5), having
> verbose debugs in the "normal" :5 setting will cause pain.

Can this be controlled some other way? Via a #define? Via another
environment variable?

I ask because in discussions with Eric I've been encouraging him to
reduce the number of logging levels as much as possible. It would be
sad to have to complicate the general mechanism because one module
does things differently to the rest of the system.

Nick
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to