Skip to content

trace logs are printed even without --verbose #82

@Ichinose-Kazuki

Description

@Ichinose-Kazuki

Is it intended behavior that [TRACE] logs (e.g., [core] got poll event) are printed even when the --verbose flag is not used?

Currently, the filtering logic in src/helpers/Log.hpp only returns early for LOG and INFO levels:

if (!trace && (level == LOG || level == INFO))
    return;

Since TRACE is defined as 5, it currently bypasses this check and is printed by default regardless of the trace flag status.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions