Results 1 to 3 of 3

Thread: per application logging

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2011
    Posts
    116

    Default 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

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Hi Asi,

    Please refer to your ticket #95260

    Richard

  3. #3
    Join Date
    May 2013
    Posts
    680

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •