Module-specific log4j.properties
Author: jrauschenbusch
Publication Date: 7/11/2014 10:21
Hi community,
Is it possible to define a module-specific log4j.properties file, which will be evaluated by the logging system? In my case i need a mechanism to provide an additional custom log4j appender implementation. But this should be defined by the module itself and not in the fs-logging.conf file. The reason is, that the custom appender is defined in the module and should only be used by the module. It should be cicumvented that the appender is still defined in the fs-logging.conf even if the module is not installed anymore. The custom appender is used to create a log file in the log-directory of the FirstSpirit installation directory to create daily rolling log files. My problem is, that this custom implementation isn't currently instantiated/invoked by the logging system despite a log4j.properties file is defined in the root of the fsm structure.
Thank you in advance for your help!
Tags: custom_appender, log4j, module
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
0 Kommentare