Setting jvmargs in log4j.properties file

Posted by Thomas on Stack Overflow See other posts from Stack Overflow or by Thomas
Published on 2010-03-23T09:46:47Z Indexed on 2010/03/23 9:53 UTC
Read the original article Hit count: 278

Filed under:
|
|
|

Hey

This is a bit of a weird request but I am trying to set some jvmargs in the log4j.properties file. At present I use ant to for example set some args....

jvmarg value="-Dmail.smtp.socketFactory.port=465"

... but it would be great to group a few of these logging relevant arguments into the .properties file. Does anyone know how to do this?

Thanks in advance!

© Stack Overflow or respective owner

Related posts about log4j

Related posts about jvm-arguments