Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 3
    FILE_PATH is actually searched on the CLASSPATH, including inside jar files. Commented Jan 12, 2012 at 14:35
  • 13
    You need to put "file:" in front of the path if it is a file on disk. In other words... -Dlog4j.configuration=file:<file_path> stackoverflow.com/questions/778933/… Commented Mar 22, 2012 at 20:02
  • 3
    This works as advertised; however I am trying to override a setting of a properties file in the jar, and the latter appears to get set after. Any advice? Commented Jul 17, 2013 at 15:01