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

Add preauthentication logging configs #9091

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

thedoc31
Copy link

Is this a bugfix, or an enhancement? Please describe.
Enhancement.

Implements a fix for #9090, as currently this logger is undocumented and difficult for someone without Log4j2 experience to figure out.

Describe the solution you've implemented
Add log4j2 configs for preauthentication to all default templates

Describe alternatives you've considered
Considered leaving it commented out, but if someone is not using the preauth module it won't make any noise. A future enhancement could be to suppress some of the logging to DEBUG level instead, since INFO is pretty broad. That would require a code change.

Additional context
#5656 has further discussion regarding how difficult it has been to debug preauthentication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant