Menu

#4 Don't include log4j.properties in the jar file

v1.0_(example)
closed
nobody
None
1
2014-11-26
2014-11-19
No

dnsjnio's log4j config (trunk/test/log4j.properties) is overriding my log4j.properties in my final jar file.

It is bad practice to include this file in a jar file unless it's the final result you're deploying to production. See this URL: http://www.mkyong.com/maven/maven-exclude-log4j-properties-in-jar-file/

Related

Bugs: #4

Discussion

  • alexd_nom

    alexd_nom - 2014-11-19

    Hi -

    Thanks for your report.

    I'll look to move this file from the jar, and will hope to make a new release this weekend.

    Do you mind if I ask what you are using dnsjnio for, please?

    Thanks,

    Alex.

     
  • Philip Jagielski

    Thanks! That would be awesome.

    We are using JamesSPF to look up spf records which has dnsjnio as a dependency.

    -Philip

     
  • alexd_nom

    alexd_nom - 2014-11-22

    I've released dnsjnio-1.0.4 - please let me know if you have any problems.

     
  • alexd_nom

    alexd_nom - 2014-11-22
    • status: open --> closed
     

Log in to post a comment.