You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use maven-jaxb2-plugin:0.14.0 generate parser for logback xml configuration file. However, the result returned by the parser is weird. For example, I use the parser to parse the logback example configuration in your project, below is the returned Configuration object. We can see that the appender element belongs to a list named shutdownHookOrStatusListenerOrContextListener. Actually, all elements of configuration goes to this list. However, I have used JAXB to parse log4j.dtd and the result is much better. I can use getAppenders() to get all appender in configuration.
Any hints to solve this problem? Thanks!
The text was updated successfully, but these errors were encountered:
I use
maven-jaxb2-plugin:0.14.0
generate parser for logback xml configuration file. However, the result returned by the parser is weird. For example, I use the parser to parse the logback example configuration in your project, below is the returned Configuration object. We can see that the appender element belongs to a list namedshutdownHookOrStatusListenerOrContextListener
. Actually, all elements of configuration goes to this list. However, I have used JAXB to parse log4j.dtd and the result is much better. I can usegetAppenders()
to get all appender in configuration.Any hints to solve this problem? Thanks!
The text was updated successfully, but these errors were encountered: