Re: reusing a logger+appender

2018-02-14 Thread Ralph Goers
That is interesting. We had an email earlier this week from someone who had a log4j2.xml in a jar they couldn’t modify. He called that “EVIL.jar”. That said, I could understand including a log4j2-mycomponent.xml that gets merged with the application’s logging configuration. If you do that you ju

Re: reusing a logger+appender

2018-02-14 Thread Benjamin Jaton
Yes I have been using the composite config feature, it does help. It would be nice to be able to configure the logging of a component in the component itself, instead of having to add it in the initial logging configuration of all the potential applications that might use it. In particular if some