You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Thielen <da...@thielen.com> on 2003/03/20 20:01:52 UTC

Can't get logger/debug messages

Hi;

In server.xml I changed logging to

<Server port="8005" shutdown="SHUTDOWN" debug="4">

<Logger className="org.apache.catalina.logger.FileLogger" verbosity="4"
         directory="logs"  prefix="localhost_log." suffix=".txt"
timestamp="true"/>

Yet I get no additional messages. Any ideas?

Also, I am assuming with a log level of 4, when I use my browser to get a
servlet I think should show up - and instead I get an error, it will
tell me why in the log.

thanks - dave


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Can't get logger/debug messages

Posted by p niemandt <ma...@acesurfer.co.za>.
Again I have no documented basis for my claims, sadly I'm one of those
people that only RTFM after nothing else works, BUT ...

what works for me ...

Development: 
Add debug="100" wherever - I have never used verbosity="x", I didn't
even know it exists, if it does ;-), but with debug="100" I tend to get
MB of logs where-ever.

Production:
Change to debug="0"

hth
Paul

On Sat, 2003-03-22 at 19:31, David Thielen wrote:
> Hi;
> 
> In server.xml I changed logging to
> 
> <Server port="8005" shutdown="SHUTDOWN" debug="4">
> 
> <Logger className="org.apache.catalina.logger.FileLogger" verbosity="4"
>           directory="logs"  prefix="localhost_log." suffix=".txt"
> timestamp="true"/>
> 
> Yet I get no additional messages. Any ideas?
> 
> Also, I am assuming with a log level of 4, when I use my browser to get a
> servlet I think should show up - and instead I get an error, it will tell me
> why in the log.
> 
> thanks - dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
-- 
p niemandt <ma...@acesurfer.co.za>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Can't get logger/debug messages

Posted by David Thielen <da...@windward.net>.
Hi;

In server.xml I changed logging to

<Server port="8005" shutdown="SHUTDOWN" debug="4">

<Logger className="org.apache.catalina.logger.FileLogger" verbosity="4"
          directory="logs"  prefix="localhost_log." suffix=".txt"
timestamp="true"/>

Yet I get no additional messages. Any ideas?

Also, I am assuming with a log level of 4, when I use my browser to get a
servlet I think should show up - and instead I get an error, it will tell me
why in the log.

thanks - dave


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org