Externalize log4j.properties in Windows
Prerequisites
Configuration Steps
mkdir C:\ovaledge\extprop
C:\ovaledge\extprop\log4j.properties
C:\ovaledge\extprop\log4j.properties#log4j.rootLogger=INFO, CONSOLE log4j.rootLogger=INFO, FILE
C:\ovaledge\apache-tomcat-10.1.40\bin
-Dlog4j.configuration=file:C:\path\to\extprop\log4j.properties
Last updated
Was this helpful?




