You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jacek Laskowski <jl...@apache.org> on 2004/12/02 09:31:58 UTC
How to turn on logging?
Hi,
I've been unable to turn on logging of Geronimo. How can I enable it so
that log.debug() is printed out on the console. I looked at var/log
configuration files, but none seemed to influence the way the messages
were printed out :( The only way I could see what's going on what to run
JPDA and attach to Geronimo remotely.
There're a thread about an IoCish approach to introduce a log parameter
to GBeans. Is it done? I tried referencing Log4jService, but that's not
this, right? BTW, What is Log4jService for?
Jacek
Re: How to turn on logging?
Posted by Jacek Laskowski <jl...@apache.org>.
Dain Sundstrom wrote:
> I just started up my server and got lots of debug messages printed to
> var/log/geronimo.log
Right. I wasn't clear enough the first time. What I'm after is to have
messages from the Deployer printed out. I can't seem to be able to turn
them on. According to var/log/deployer-log4j.properties the messages
should go to var/log/deployer.log, but they don't. Why?
> -dain
Jacek
Re: How to turn on logging?
Posted by Dain Sundstrom <ds...@gluecode.com>.
I just started up my server and got lots of debug messages printed to
var/log/geronimo.log
If you want debug messages on the console change this line in
var/log/server-log4j.properties:
log4j.appender.CONSOLE.Threshold=INFO
to
log4j.appender.CONSOLE.Threshold=DEBUG
You won't see these messages until the Log4jService loads in the
org/apache/geronimo/System configuration.
-dain
--
Dain Sundstrom
Chief Architect
Gluecode Software
310.536.8355, ext. 26
On Dec 2, 2004, at 12:31 AM, Jacek Laskowski wrote:
> Hi,
>
> I've been unable to turn on logging of Geronimo. How can I enable it
> so that log.debug() is printed out on the console. I looked at var/log
> configuration files, but none seemed to influence the way the messages
> were printed out :( The only way I could see what's going on what to
> run JPDA and attach to Geronimo remotely.
>
> There're a thread about an IoCish approach to introduce a log
> parameter to GBeans. Is it done? I tried referencing Log4jService, but
> that's not this, right? BTW, What is Log4jService for?
>
> Jacek