Hi, my name's Michael Erskine. I'm a senior software engineer with a systems integrator in Nottingham, England.
I use Log4j in all my Java applications as a matter of course and usually with a standard setup:
- Set a system property to override log4j default initialisation: System.setProperty("log4j.defaultInitOverride", "true"
use a property configurator and have it monitor the file with PropertyConfigurator.configureAndWatch()
use a SocketHubAppender to allow remote apps to read the logs
- use a custom appender to log asynchronously to a JDBC database
anyone need help? drop me a line!