tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Palmatier <cobrac...@yahoo.com>
Subject RE: Getting basic Logging up and running
Date Thu, 08 Apr 2004 16:40:40 GMT
Hi Yoav,

I tried the debug="99" and got the same results as
before.  Are the steps I outlined the ones people
usually use to get logging?  Most posts seem to
indicate that turning on logging is a no-brainer so I
feel like I must be doing something dumb.  Is the
Global Logger all I should need for all my logging or
do I need to define a logger at each level (connector,
valve, etc.)?  I wouldn't think I would according to
the documentation, but at this point I'm not going to
take any chances.  I also noticed that I don't have
any of the commons-logging jars in my server/lib
directory but most posts seemed to say I won't need it
if I'm content with log4j.  Is this true, or do I need
both?  Any help would be greatly appreciated and save
my last remaining hairs.

Thanks,
Jason

--- "Shapira, Yoav" <Yoav.Shapira@mpi.com> wrote:
> 
> Hi,
> Try debug="99" perhaps.
> 
> Yoav Shapira
> Millennium Research Informatics
> 
> 
> >-----Original Message-----
> >From: Jason Palmatier [mailto:cobraconn@yahoo.com]
> >Sent: Wednesday, April 07, 2004 5:27 PM
> >To: tomcat-user@jakarta.apache.org
> >Subject: Getting basic Logging up and running
> >
> >Hi,
> >
> >   I've been trying to get basic logging up and
> >running so I can diagnose an SSL connection
> problem.
> >I've searched the archive and google for a full day
> >and picked up bits and pieces, which I cobbled
> >together, but still can't seem to get any more
> output
> >then the initial startup (i.e. output up to and
> >including the "INFO: Server startup in xxxxxx ms"
> in
> >catalina.out) message.  I'm using tomcat 5.0.19 and
> >running on an iSeries at v5r2.  Here are the
> changes
> >I've made so far:
> >
> >In server.xml I added:
> >- debug="10" wherever debug="0" appears in the file
> >- verbosityLevel="4" wherever a Logger or Valve tag
> is
> >defined
> >- Otherwise server.xml is just the default with an
> >HTTPS connector uncommented and spiffed up with
> >keystore and keypassword attributes.
> >
> >In catalina.sh (it runs as if on Unix when run on
> an
> >iSeries) I added -Djavax.net.debug=ssl to
> JAVA_OPTS.
> >
> >Here's what my Global Logger tag looks like in
> >server.xml:
> >
> > <!-- Global logger unless overridden at lower
> levels
> >-->
> ><Logger
> >className="org.apache.catalina.logger.FileLogger"
> >              verbosityLevel="4"
> >              prefix="catalina_log." suffix=".txt"
> >              timestamp="true"/>
> >
> >I get a catalina_out.<timestamp>.txt file but it
> only
> >contains
> >
> >2004-04-07 21:23:56 EngineConfig: EngineConfig:
> >Processing START
> >2004-04-07 21:43:04 EngineConfig: EngineConfig:
> >Processing STOP
> >2004-04-07 21:46:00 EngineConfig: EngineConfig:
> >Processing START
> >
> >I would like to get as much debug information as
> >possible so I can see the complete initialization
> of
> >the Tomcat server and any attempted connects (SSL
> and
> >non-SSL).  Ultimately I would like to see detailed
> SSL
> >trace, hence the use of the -Djavax.net.debug=ssl
> >command line option.  I know this shouldn't be very
> >hard but I can't seem to get the output I want.
> >Anyone have an idea what I am doing wrong?
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! Small Business $15K Web Design Giveaway
> >http://promotions.yahoo.com/design_giveaway/
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
> 
> 
> 
> This e-mail, including any attachments, is a
> confidential business communication, and may contain
> information that is confidential, proprietary and/or
> privileged.  This e-mail is intended only for the
> individual(s) to whom it is addressed, and may not
> be saved, copied, printed, disclosed or used by
> anyone else.  If you are not the(an) intended
> recipient, please immediately delete this e-mail
> from your computer system and notify the sender. 
> Thank you.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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


Mime
View raw message