[jboss-dev-forums] [JBoss AS 7 Development] - Re: AS7 Logging - org.jboss.logging.jul-to-slf4j-stub ?
David Lloyd
do-not-reply at jboss.com
Thu Jul 26 11:29:43 EDT 2012
David Lloyd [https://community.jboss.org/people/dmlloyd] created the discussion
"Re: AS7 Logging - org.jboss.logging.jul-to-slf4j-stub ?"
To view the discussion, visit: https://community.jboss.org/message/750509#750509
--------------------------------------------------------------
> Patrick Ruckstuhl wrote:
>
> If I create the file
>
> my.ear/META-INF/log4j.properties
>
> with [...] this results in nothing in the server.log and an empty /tmp/my.log
>
> but if I create a
>
> my.ear/META-INF/logging.properties
>
> this results in everything beeing logged to /tmp/my.log
That really sounds like a bug, unless your log4j properties syntax is wrong. Could you please file an issue at https://issues.jboss.org/browse/AS7 https://issues.jboss.org/browse/AS7 in the logging component? In the meantime you should be able to use logging.properties as a workaround to configure your deployment logging; both styles configure the same logging system, just with different syntaxes. In any case both slf4j and commons-logging are fully supported.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/750509#750509]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120726/90ac5c04/attachment.html
More information about the jboss-dev-forums
mailing list