per application logging

Hi

I have implemnted per application logging according to “How to configure VHost and application context logging”

my problem is that i have a custom auth module and want to log events only to the application level logging.

when i use

WMSLogger appLogger = WMSLoggerFactory.getLoggerObj(appInstance.getApplication());

and then

appLogger.info(...)

it writes to the application log but also to the root access log file.

is there a wey only to write to the application log but not to the root access log?

thx

/asi

Hi Asi,

Please refer to your ticket #95260

Richard

As a summary for this issue, you need to remove the root logger appender from log4j.properties in order to prevent the general info being written to that log file.