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.