Replies: 3 comments 4 replies
-
Please note this response was created using generative AI leveraging previously available information from the repository. This information may be helpful however it is our strong recommendation that you carefully consider the information before blindly applying it. To address the issue of overly noisy log formats due to stack traces for configuration errors in Authelia, it's important to understand that Authelia's logging behavior, including error reporting and stack traces, is part of its design to aid in troubleshooting. However, based on the context provided, there isn't a direct mention of a feature to disable stack traces for configuration errors specifically. The logging configuration in Authelia allows for adjusting the verbosity of the logs through the Given this, the best course of action would be to adjust the For immediate relief from the noisy logs, reviewing and fixing the configuration errors as indicated by the error messages would be advisable. The error messages you've shared are quite descriptive and should guide you in correcting the configuration issues. Remember, the logging and error reporting mechanisms are designed to assist in diagnosing and troubleshooting issues effectively. While stack traces can be verbose, they often provide valuable context for understanding the root cause of errors, especially in complex applications like Authelia. This comment was generated by Glime. |
Beta Was this translation helpful? Give feedback.
-
While in this instance the errors are fairly noisy and unnecessary they are critical during normal operation to isolate causes of unexpected errors. Adding a specific rule for these may be possible but may however add unnecessary complexity for a fairly small gain. We can however look at it depending on user feedback so I'll convert this to an idea. |
Beta Was this translation helpful? Give feedback.
-
Description
As a new user setting up authelia under docker for the first time as a PoC, I'm running into a bunch of configuration errors (due to wanting to just take a config example and run it). The log format in use is overly noisy.
Every error has a backtrace, but the error message has enough information to solve the error. The backtraces are unnecessary information
Use Case
Only log backtraces for actual program errors, not for errors that are due to things that users can configure / do.
Details
With Stacktrace
What this would look like without stacktraces
Manually wrapped at 120 chars just to show the validity of the idea:
Documentation
No response
Pre-Submission Checklist
I agree to follow the Code of Conduct
I have checked for related issues and checked the documentation
Beta Was this translation helpful? Give feedback.
All reactions