java - How to specify log file location in log4j.properties file While running jar file from command prompt -


i having jar file running command prompt using java -jar. using log statements inside jar file classes. can tell how configure location place log file in log4j.prperties file.

note : running jar file in remote machine

log4j properties/xml file can configured in multiple ways. can check how initialize log4j properly?


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -