Avalon Log4J Logging PluginOverviewThe Log4J plugin for Avalon Logging allows for the usage of Apache Log4J log system to be driving your Avalon application. It is a very thin wrapper to Log4J, introducing a single extra method call (non reflected) for the log output methods. Instead of mixing in the Log4J configuration into the rest of Avalon configuration files, they remain external and are instead referenced. Both XML and Properties files are supported, and by giving an optional update element, the configureAndWatch() method will be used. NOTE! "Base Directory" (property "avalon.logging.basedir") is NOT SUPPORTED inside any Log4J configuration files, and all relative filenames inside the Log4J configuration will relative to user.dir (current directory). XML Specification
Example<logging> <src>conf/log4j.xml</src> <!-- Check for Update once every minute. --> <update>60000</src> </logging> |