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 Tomcat JULI implementation #102

Merged
merged 1 commit into from
Feb 22, 2024
Merged

Add Tomcat JULI implementation #102

merged 1 commit into from
Feb 22, 2024

Conversation

ppkarwasz
Copy link
Member

Adds a Tomcat JULI implementation that can replace the one in org.apache.logging.log4:log4j-appserver.

The main differences between this implementation and the official one:

  • it retrieves the correct logger context by setting fqcn to org.apache.juli.LogFactory instead of the class name of the logger,
  • it does not treat the filenames log4j2-tomcat.* differently, leaving the configuration entirely to the implementation.

Closes #101.

@ppkarwasz ppkarwasz force-pushed the tomcat-juli branch 2 times, most recently from 1876d3b to 068c1af Compare January 28, 2024 22:14
@ppkarwasz ppkarwasz self-assigned this Jan 29, 2024
@ppkarwasz ppkarwasz added this to the 3.0.0-alpha1 milestone Feb 17, 2024
Adds a Tomcat JULI implementation that can replace the one in
`org.apache.logging.log4:log4j-appserver`.

The main differences between this implementation and the official one:

 * it retrieves the correct logger context by setting `fqcn` to
   `org.apache.juli.LogFactory` instead of the class name of the logger,
 * it does not treat the filenames `log4j2-tomcat.*` differently,
   leaving the configuration entirely to the implementation.
@ppkarwasz ppkarwasz removed this from the 3.0.0-alpha1 milestone Feb 22, 2024
@ppkarwasz ppkarwasz merged commit 385e8ea into main Feb 22, 2024
7 checks passed
@ppkarwasz ppkarwasz deleted the tomcat-juli branch February 22, 2024 13:12
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.

Add Tomcat JULI Log implementation
1 participant