java - log4j xml configuration file outside the classpath -
java - log4j xml configuration file outside the classpath -
i having log4j xml configuration file outside of project. loading xml configuration file using absolute path domconfigurator.configure("d:/e-signature/esignature logs/log4j_properties_xml/log4j-properties.xml");. since going convert project executable jar have kept outside of project.
is there other efficient way handle without giving absolute path.
if project maven project, can set log4j.properties in src/main/resources folder don't need give absolute path , if simple java project set in src folder work.
java log4j
Comments
Post a Comment