Thank you very much Yoav!

I actually ended up just adding the following lines to
startup.sh instead of creating the configuration file
commons-logging.properties : 

export -s
CATALINA_OPTS="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
-Dorg.apache.commons.logging.simplelog.defaultlog=debug"

That produced an extensive log and gave me the Socket
information I needed.  That was easy.  Thanks again!

Jason


                              
--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> >I tried the debug="99" and got the same results as
> 
> OK.  That was worth a try, but the result is not too
> surprising, since
> much of tomcat's logging is done via commons-logging
> now, and the debug
> level setting has little or no effect.
> 
> >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,
> 
> The global Logger is inherited, so you don't need to
> define additional
> ones.
> 
> 
> >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.
> 
> You have commons-logging in $CATALINA_HOME/bin as
> it's part of the
> launch classpath, even before the server/lib
> classes.
> 
> When people say you don't need commons-logging if
> you're content with
> log4j, they are talking about your own webapp's
> logging.  And they're
> right.  If you want to adjust tomcat's internal
> logging however, as in
> this case, then you do need to modify the
> commons-logging settings.
> 
> What you need to do is create a commons-logging
> configuration file.  In
> it specify DEBUG-level logging for the
> org.apache.catalina packages.
> Put this file in $CATALINA_HOME/common/classes and
> tomcat will load it
> automatically.  You will then get additional debug
> information.  The
> file must be called commons-logging.properties I
> think.
> 
> Yoav Shapira
> 
> 
> 
> 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:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to