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

Log4j File Appenders do not work in jboss 6.1.0-Final

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 6.1.0
    • Fix Version/s: None
    • Component/s: Logging
    • Labels:
      None

      Description

      In 6.1.0, using a log4j RollingFileAppender (we actually subclass it, but I'm sure it's an issue with at least all FileAppenders), I get this error when it tries to switch from the bootstrap logger to the jboss-logging.xml loggers:

      org.jboss.logging.service : Removing bootstrap log handlers
      [STDERR] log4j:ERROR No output stream or file set for the appender named [null].

      I have a forum thread going here for this. http://community.jboss.org/thread/171093. My jboss-logging.xml file is attached in the forum thread.

      Reapplying the 6.0 Final patch from here, fixes the problem: https://issues.jboss.org/browse/JBAS-8791

        Attachments

        1. jboss-logging.xml
          7 kB
        2. vue-log4j.jar
          6 kB

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmihalich1 Joe Mihalich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: