Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
I am migrating an application from Log4j1 to Log4j2 using the API bridge jar. All references to the log4j1.jar have already been removed. I set the system property in Websphere as a JVM argument -...
#2: Post edited
I am migrating an application from Log4j1 to Log4j2 using the API bridge jar. All references to the log4j1.jar have already been removed. I set the system property in Websphere as a JVM argument "-Dlog4j1.compatibility=true", but when I watch the debug output from log4j2 it is not actually looking for "log4j.xml" or "log4j.properties". It does look for the log4j2 configuration files. What else do I need to do to get it to look for the old configuration files?
- I am migrating an application from Log4j1 to Log4j2 using the API bridge jar. All references to the log4j1.jar have already been removed.
- I set the system property in Websphere as a JVM argument `-Dlog4j1.compatibility=true`, but when I watch the debug output from log4j2 it is not actually looking for "log4j.xml" or "log4j.properties". It does look for the log4j2 configuration files.
- What else do I need to do to get it to look for the old configuration files?
#1: Initial revision
Log4j2 not looking for log4j.properties even with the system property set
I am migrating an application from Log4j1 to Log4j2 using the API bridge jar. All references to the log4j1.jar have already been removed. I set the system property in Websphere as a JVM argument "-Dlog4j1.compatibility=true", but when I watch the debug output from log4j2 it is not actually looking for "log4j.xml" or "log4j.properties". It does look for the log4j2 configuration files. What else do I need to do to get it to look for the old configuration files?