Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

justify filter thresh hold #438

Merged
merged 5 commits into from
Jan 26, 2022
Merged

justify filter thresh hold #438

merged 5 commits into from
Jan 26, 2022

Conversation

mdnazmulkarim
Copy link
Contributor

@mdnazmulkarim mdnazmulkarim commented Jan 25, 2022

https://logback.qos.ch/manual/filters.html
The following deny all events with a level below INFO, that is TRACE and DEBUG
<filter class="ch.qos.logback.classic.filter.ThresholdFilter"> <level>INFO</level> </filter>

The log levels:
.........................
/** No events will be logged.
*/
OFF(0),

/**

  • A severe error that will prevent the application from continuing.
    */
    FATAL(100),

/**

  • An error in the application, possibly recoverable.
    */
    ERROR(200),

/**

  • An event that might possible lead to an error.
    */
    WARN(300),

/**

  • An event for informational purposes.
    */
    INFO(400),

/**

  • A general debugging event.
    */
    DEBUG(500),

/**

  • A fine-grained debug message, typically capturing the flow through the application.
    */
    TRACE(600),

/**

  • All events should be logged.
    */
    ALL(Integer.MAX_VALUE);

Copy link
Contributor

@sliver007 sliver007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Builds and results in desired logging behavior for CDS pilot scenarios.

@sliver007 sliver007 merged commit d09675b into master Jan 26, 2022
@sliver007 sliver007 deleted the justify-log-filter branch January 26, 2022 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants