How to get Log4J “StatusLogger” output with timestamps?
I have activated Log4J debugging. But the debug lines have no timestamp. This confuses me because in the official examples they don’t seem to configure anything either, but DO have timestamps:
How to get Log4J “StatusLogger” output with timestamps?
I have activated Log4J debugging. But the debug lines have no timestamp. This confuses me because in the official examples they don’t seem to configure anything either, but DO have timestamps:
How to disable log4j programmatic reconfiguration from a 3rd party jar
My project recently migrated from log4j to log4j2 using the bridge approach. Everything works well until we trigger a flow that uses a 3rd party jar which is programmatically reconfiguring log4j. This reconfiguration is done using org.apache.log4j.PropertyConfigurator (log4j-1.2-api-2.17.2). Due to this reconfiguration, my Log4j2 property configuration is getting hijacked closing all the appenders. I have the log4j2.properties on my class path and a System Property is also set to refer log4j2.configurationFile. I enabled the debug and it is printing the the reconfig logs. Please advise how can this programmatic reconfig. can be disabled.