[jboss-jira] [JBoss JIRA] (WFLY-2012) log4j ConsoleAppender won't display messages with per-deployment logging

James Perkins (JIRA) issues at jboss.org
Mon Feb 17 11:53:48 EST 2014


    [ https://issues.jboss.org/browse/WFLY-2012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12945308#comment-12945308 ] 

James Perkins commented on WFLY-2012:
-------------------------------------

Same problem in 8.0.0.Final?
                
> log4j ConsoleAppender won't display messages with per-deployment logging
> ------------------------------------------------------------------------
>
>                 Key: WFLY-2012
>                 URL: https://issues.jboss.org/browse/WFLY-2012
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Logging
>            Reporter: James Perkins
>            Assignee: James Perkins
>            Priority: Minor
>
> Add the following log4j.properties file to a deployment and try to log.
> {code}
> # Root logger option
> log4j.rootLogger=INFO, stdout
> # Direct log messages to stdout
> log4j.appender.stdout=org.apache.log4j.ConsoleAppender
> log4j.appender.stdout.Target=System.out
> log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
> log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list