I've cracked my brain over this searching online and can't find any decent documentation.
I know how to programmatically setup NTEventLogAppender to log to remote NT servers.
However, how do I do it through the properties config file?
The problem is NTEventLogAppender only accepts argument "server" string in the constructor, and there's no setters for it.
I doubt the following will work: log4j.appender.ntEventLogAppender=org.apache.log4j.nt.NTEventLogAppender log4j.appender.ntEventLogAppender.source=mysource log4j.appender.ntEventLogAppender.server=192.168.1.1 // probably fail here due to missing setter?