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

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 6.1.0
    • Logging
    • None

      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

        1. jboss-logging.xml
          7 kB
          Shelly McGowan

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

                Created:
                Updated:
                Resolved: