[jboss-jira] [JBoss JIRA] (WFCORE-478) log4j ConsoleAppender won't display messages with per-deployment logging
Arsalan Masood (JIRA)
issues at jboss.org
Tue Mar 3 06:58:50 EST 2015
[ https://issues.jboss.org/browse/WFCORE-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045592#comment-13045592 ]
Arsalan Masood commented on WFCORE-478:
---------------------------------------
I agree with Geert and I am facing the same problem (use case).
I am using Eclipse and I found a plugin that does something similar to what a tail command does in Linux. That is OK for me for the time being.
> log4j ConsoleAppender won't display messages with per-deployment logging
> ------------------------------------------------------------------------
>
> Key: WFCORE-478
> URL: https://issues.jboss.org/browse/WFCORE-478
> Project: WildFly Core
> Issue Type: Bug
> 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 was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list