Pete Muir wrote:
On 15 Apr 2009, at 14:28, Chris Bredesen wrote:
> Dimitris Andreadis wrote:
>> Pete Muir wrote:
>>> Hi Dimitris,
>>>
>>> Not quite sure how you would do it I'm afraid - the obvious way
>>> would be to allow the application to bundle it's own log4j.xml file
>>> which overrides the AS one, but that doesn't seem to work in the
>>> current code base. Want me to file a feature request?
>>>
>>> But I do believe Seam is using log levels consistently with JBoss AS.
>> AFAICT, Seam is very noisy. Most of the info I'm trying to avoid
>> should be logged at DEBUG level.
>> Jaikiran proposed to still log this info, but only to the server.log,
>> not the console.
>
> +1 on logging only to the file. Most of that stuff does fit INFO IMO.
Actually, what I would like to do is maintain this logging to the
console at INFO level if Seam is in "debug" mode, but reduce it to DEBUG
if not. WDYT?
This is a fairly reasonable solution but it seems a bit elusive to
change log4j output somewhere outside log4j.xml. Could be the only way
to address all concerns, though.
-CB