[jboss-jira] [JBoss JIRA] Issue Comment Edited: (JBAS-9441) Log4j File Appenders do not work in jboss 6.1.0-Final
Joe Mihalich (JIRA)
jira-events at lists.jboss.org
Thu Aug 18 12:47:17 EDT 2011
[ https://issues.jboss.org/browse/JBAS-9441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621951#comment-12621951 ]
Joe Mihalich edited comment on JBAS-9441 at 8/18/11 12:46 PM:
--------------------------------------------------------------
Hi Shelly, drop our jar file into your server/<config>/lib directory. The jar only has one class in it...the one that you're getting the CNFE. Attached the jar to the ticket. I'd think you'd get this by using any of the log4j File Appenders in the shipped jboss-logging.xml file too...
Edit: Sorry, I noticed now that there are no log4j file based rolling file appenders in the shipped jboss-logging.xml...only email, jms, etc based ones.
was (Author: jmihalich1):
Hi Shelly, drop our jar file into your server/<config>/lib directory. The jar only has one class in it...the one that you're getting the CNFE. Attached the jar to the ticket. I'd think you'd get this by using any of the log4j File Appenders in the shipped jboss-logging.xml file too...
> Log4j File Appenders do not work in jboss 6.1.0-Final
> -----------------------------------------------------
>
> Key: JBAS-9441
> URL: https://issues.jboss.org/browse/JBAS-9441
> Project: Legacy JBoss Application Server 6
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Logging
> Affects Versions: 6.1.0
> Environment: Probably all OS's.
> Reporter: Joe Mihalich
> Assignee: David Lloyd
> Attachments: jboss-logging.xml, vue-log4j.jar
>
>
> 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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list