A while back, someone did post an MBean that would convert logging in
JBoss to use log4j. I've used it without problems now for a while.
Search the archives of jboss-user and jboss-dev and I think you'll find
a link to a zipfile somewhere ...
As a side note, you can configure your JBoss logging in jboss.conf to
turn off "Information" messages and you should be home free as far as
limiting your output goes.
++Jeff
Micheal J wrote:
> Hi,
>
> I seem to remember a while back a post about using log4j with JBoss. Did
> this ever happen?.
>
> The amount of logging info that JBoss spews out on startup is too much IMO.
> It is *extremely* hard to spot an error message in between the pages of
> apparently harmless INFO/DEBUG messages.
>
> Perhaps we should adopt a strategy whereby the console is reserved for
> messages that the user *must* know about (e.g. your server is on fire!) and
> any extraneous "server happy" messages can be fed to a log file or other
> standard log mechanism dependent on OS platform. If it is a file then it
> also becomes easy to just say "attach you the xxx.log file to any problem
> reports"... ;-)
>
> What do you guys think?
>
> Cheers!,
>
> Micheal
>
>
>
>
>