log4j: Could not find resource in start script: java -Dlog4j.debug=tru

Please Visit: http://ift.tt/1ajReyV



log4j: Could not find resource

in start script:

java -Dlog4j.debug=true -Dlog4j.configuration=file:///mysoftware/config/mylog4j.properties ...

In code:

System.setProperty("log4j.configuration", new File(customBase,"/etc/logging.properties").toURI().toString())

http://ift.tt/1nLoSoc

http://ift.tt/1bJxxYo



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1ht1T3C

via LifeLong Community

No comments:

Post a Comment