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

Customize log level names #221

Open
florensie opened this issue Dec 19, 2023 · 0 comments
Open

Customize log level names #221

florensie opened this issue Dec 19, 2023 · 0 comments
Labels
agent-java community Issues and PRs created by the community triage Issues and PRs that need to be triaged

Comments

@florensie
Copy link

It would be nice to be able to customize the log level names. Logging libraries across different languages will often use different names for log levels. Eg. "Verbose" instead of "TRACE", or "Information" instead of "INFO".

For implementation, for the logback encoder I suggest a protected method that takes a log level and is allowed to return any string. I have not looked at possible solutions for the other supported logging libraries.

@github-actions github-actions bot added agent-java community Issues and PRs created by the community triage Issues and PRs that need to be triaged labels Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-java community Issues and PRs created by the community triage Issues and PRs that need to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant