JBoss Community

Re: AS7 Logging - org.jboss.logging.jul-to-slf4j-stub ?

created by David Lloyd in JBoss AS 7 Development - View the full discussion

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 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

Start a new discussion in JBoss AS 7 Development at Community