Skip to content

Provide a Layout to StatusLogger #3578

Answered by vy
voddan asked this question in Q&A
Mar 26, 2025 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

No, it is not possible and, IMHO, this is a good thing. Status Logger is the logger for the logger – that is, we need to keep its feature set at minimum. Consider it like a printf() on steroids.

When I get networking problems with my appender, it prints elaborate error messages with extensive stack traces

If this is an unexpected failure, it is good to point to the user the origin by means of a stack trace. If this is something regular, you might consider either introducing a rate limiter to the error messages you emit, or avoiding passing the same exception to the status logger in subsequent calls.

Replies: 1 comment 2 replies

Comment options

vy
Mar 27, 2025
Collaborator

You must be logged in to vote
2 replies
@voddan
Comment options

@ppkarwasz
Comment options

Answer selected by voddan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
api Affects the public API
3 participants