Skip to content

Consider making it possible to show trace logs with Firefox release build #3764

Description

@KershawChang

Why:
We've recently been debugging HTTP/3 issues in Firefox, and the lack of neqo trace/debug logs in release/opt builds makes this much harder

Context:
neqo’s qdebug! / qtrace! cannot be observed in a release/opt Firefox build, even with MOZ_LOG=neqo::*:5. In mozilla-central, the log crate is compiled with release_max_level_info, and neqo’s macros expand to log::trace! / log::debug!, which are gated by the compile-time log::STATIC_MAX_LEVEL. As a result, they are stripped at build time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions