Replies: 1 comment 3 replies
-
This is explained in the Status Logger documentation. You need to programmatically do it. This is also stated in the JavaDoc you linked:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Documentation on StatusLogger mentions that I can create a custom StatusListener and register it.
How do I do that?
I could not find a cmd parameter or a configuration that would do that. The example in the documentation is in Java, but I don't understand where I would even put that code
I have a Spring 5 Java application, with Tomcat, developed on Windows. We use log4j.xml and command line parameters, for example -Dlog4j2.debug, to configure logging.
Changing the code of the app is out of the question, but I could add a separate Maven module if I have to build a plugin or something of this nature.
Beta Was this translation helpful? Give feedback.
All reactions