Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-9462

Doing a patch of jboss-logging-log4j to enable separate logging and filtering on DeployURL match wtf-exp.war for version 5.1.0.GA because it is only working for 5.0.0 version.

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Major
    • None
    • None
    • None
    • None

    Description

      The TCLMCFilter doesn't even work with WAR files in JBoss 5.1.0.GA

      When several applications are deployed on the default instance server on jboss 5.1.0.GA it is not possible to separate logs in different files with log4j
      All applications will log in all different files.

      The filter TCLMCFIlter doesn't work, it lets everything through (like the old TCLFilter).
      The class TCLMCFIlter.java has to be modify, there is a problem with the classloader, the methode getURLs doesn't work with 5.1.0, only for 5.0.0 version.
      Then, filetring logj4 logging on war name is not possible :

      Example :
      <filter class="org.jboss.logging.filter.TCLFilter">
      <param name="AcceptOnMatch" value="true"/>
      <param name="DeployURL" value="wtf-exp.war"/>
      </filter>

      Could we do a new patch for the branch 5.1.0.GA ?

      Relatives issues :
      ---------------------------
      https://issues.jboss.org/browse/JBAS-6532
      https://issues.jboss.org/browse/ORG-1259

      Forum:
      http://community.jboss.org/wiki/SeparatingApplicationLogs#comment-8603

      Attachments

        Activity

          People

            Unassigned Unassigned
            stephane.raban_jira Stéphane Raban (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: