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

Log Level Suggestion #8

Open
mpsarakis opened this issue Jan 21, 2025 · 2 comments
Open

Log Level Suggestion #8

mpsarakis opened this issue Jan 21, 2025 · 2 comments
Assignees
Labels
› Improvement Enhance an existing feature

Comments

@mpsarakis
Copy link

Hello,

This is more a feature suggestion:

Would it be possible to choose the log level that is displayed in Traefik logs? Since this is commonly used for non-human programmatic API access, this can saturate Traefik logs very quickly with entries like:
traefik | 2025-01-21T12:55:46 [ APITOKEN ] [INFO] : Initializing new request xx.xx.xx.xx for url https://xxx.domain.com/api/xxx

It would be good to be able to see only access failures or problems by decreasing log level to WARN for example.

Thanks a lot for your work.

@Aetherinox
Copy link
Owner

Yeah, I can work out some better logging.

I was just thinking about this the other day when I was going through my Traefik logs looking at the logs to find something, and I noticed that with all the windows I have open, it was flooding, and it was hard to keep track of what I was looking for because the output spits out like 8 or 10 lines each.

@mpsarakis
Copy link
Author

Thanks, that would be greatly appreciated!

@Aetherinox Aetherinox added the › Improvement Enhance an existing feature label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
› Improvement Enhance an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants