-
Notifications
You must be signed in to change notification settings - Fork 88
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
Inappropriate logging level affects performance on high traffic #23
Comments
ericlai616
pushed a commit
to ericlai616/line-fido2-server
that referenced
this issue
Apr 27, 2022
ericlai616
pushed a commit
to ericlai616/line-fido2-server
that referenced
this issue
Apr 27, 2022
ericlai616
added a commit
to ericlai616/line-fido2-server
that referenced
this issue
Apr 27, 2022
kj84park
pushed a commit
that referenced
this issue
Apr 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It appears that current logs in the FIDO server are mainly for debugging purpose, but they are logged in
info
level.As a result, even if
info
level is configured in logback, they are always logged. When traffic rate is high, the server becomes busy for logging.On the other hand, some logs passes parameters with manual string construction instead of
{}
placeholder, so the impact is even larger. (See https://www.slf4j.org/faq.html#logging_performance for details)The text was updated successfully, but these errors were encountered: