You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jeff Ousley <jo...@gmail.com> on 2004/12/04 20:39:12 UTC
more logging in tomcat 5.5
hello!
forgive the rambling nature of this message. my basic question is how
do i get more detailed logging out of tomcat. i'm trying to set up a
JNDIRealm to authenticate to an ldap server. in my realm config i've
got the debug="99" name/value pair. my realm is included inside my
host container. i see no debug output anywhere. where should i see
this output?
i also have an accesslog valve inside the host container like this:
<Valve className="org.apache.catalina.valves.AccessLogValve"
prefix="localhost_access_log." suffix=".out"
pattern="combined"/>
the localhost_access_log... files are being created with very minimal
information in them. is this where the debug output from the realm
should go, or in the catalina.out directory?
i've also followed the steps exactly to try and configure log4j as found here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
after stopping and restarting tomcat, my log4j settings seem to have
made no difference. they don't seem to be working at all. my log file
as specified in the log4j.properties file is not being created. is
there something further i must do to get this working?
is there anything i can do to get more detailed logging out of tomcat
and especially my realm config?
sorry for the mess of questions. i appreciate any help, direction, or guidance!
-jeff
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: more logging in tomcat 5.5
Posted by Bill Barker <wb...@wilshire.com>.
"Jeff Ousley" <jo...@gmail.com> wrote in message
news:7e2a6a4e0412041139394877b2@mail.gmail.com...
> hello!
>
> forgive the rambling nature of this message. my basic question is how
> do i get more detailed logging out of tomcat. i'm trying to set up a
> JNDIRealm to authenticate to an ldap server. in my realm config i've
> got the debug="99" name/value pair. my realm is included inside my
> host container. i see no debug output anywhere. where should i see
> this output?
>
The 'debug' attribute has been removed in 5.5, and so is simply quietly
ignored.
> i also have an accesslog valve inside the host container like this:
>
> <Valve className="org.apache.catalina.valves.AccessLogValve"
> prefix="localhost_access_log." suffix=".out"
> pattern="combined"/>
>
>
> the localhost_access_log... files are being created with very minimal
> information in them. is this where the debug output from the realm
> should go, or in the catalina.out directory?
>
> i've also followed the steps exactly to try and configure log4j as found
> here:
>
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
>
> after stopping and restarting tomcat, my log4j settings seem to have
> made no difference. they don't seem to be working at all. my log file
> as specified in the log4j.properties file is not being created. is
> there something further i must do to get this working?
>
To configure Tomcat logging via log4j, you need to download commons-logging,
and copy commons-logging.jar (*not* commons-logging-api.jar) to
$CATALINA_HOME/common/lib.
> is there anything i can do to get more detailed logging out of tomcat
> and especially my realm config?
>
> sorry for the mess of questions. i appreciate any help, direction, or
> guidance!
>
> -jeff
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org