RE: RESULT: possible bugs:( Re: Resend: disable httpclient logging)

2004-06-22 Thread Kalnichevski, Oleg
reading and archive mining before posting stuff. Oleg -Original Message- From: Roland Weber [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 22, 2004 15:58 To: Commons HttpClient Project Subject: Re: RESULT: possible bugs:( Re: Resend: disable httpclient logging) Hi Odi, > Maybe we sho

Re: RESULT: possible bugs:( Re: Resend: disable httpclient logging)

2004-06-22 Thread Roland Weber
Hi Odi, > Maybe we should also change the wirelog logger to something like > 'org.apache.commons.httpclient.wire'. > The JLogFactory uses different methods to obtain loggers for a class and by name. Prefixing the name with a package is OK by me, but I'd prefer to leave some distinction in the na

Re: RESULT: possible bugs:( Re: Resend: disable httpclient logging)

2004-06-22 Thread Ortwin Glück
darren jiang wrote: -- private static final Log LOG=LogFactory.getLog(HttpClient.class) --- that is why I can not disable the logging for HttpClient.wire No, this is absolutely correct. I am using following to disable org.apache.commons debugging: --

RESULT: possible bugs:( Re: Resend: disable httpclient logging)

2004-06-21 Thread darren jiang
Hello Ortwin and all, I fixed this problem and found that maybe a bug in HttpClient.java I fixed the logging problem using the following: #set error for commons package: log4j.category.org.apache.commons.httpclient=ERROR this can only disable the logging for all package except HttpClient.class. goi

Re: Resend: disable httpclient logging

2004-06-21 Thread darren jiang
Hello Ortwin, thank you for your help to indentify the reason for this. I did a configuration in my program to use the passed in logging.properties file. I put my code here. - public static void main(String[] args) { if(!checkParam

Re: Resend: disable httpclient logging

2004-06-21 Thread Ortwin Glück
darren jiang wrote: additional info: 1. this is a standalone java program, 2. the script to launch the java process as follows: - #!/bin/sh CDS_HOME=/opt/cvm CDS_RUNTIME=$CDS_HOME/deployment/cvm echo "CDS_HOME =$CDS_HOME" echo "CDS_RUNTIME=$CDS_RUNTIME" #classpath for CDS_RUNT

Resend: disable httpclient logging

2004-06-20 Thread darren jiang
additional info: 1. this is a standalone java program, 2. the script to launch the java process as follows: - #!/bin/sh CDS_HOME=/opt/cvm CDS_RUNTIME=$CDS_HOME/deployment/cvm echo "CDS_HOME =$CDS_HOME" echo "CDS_RUNTIME=$CDS_RUNTIME" #classpath for CDS_RUNTIME CLASSPATH=../.:$C

Re: disable httpclient logging

2004-06-07 Thread darren jiang
Hello Doug, It is stand alone program, I also felt weird. in theory, that should disable the debug log. I will check the cofiguration to see if the program use the right properties file. many thanks Darren Jiang Doug wrote: darren jiang wrote: hello all, I want to disable the httpclient logging.

Re: disable httpclient logging

2004-06-07 Thread Doug
darren jiang wrote: hello all, I want to disable the httpclient logging. but failed to do so, anyone has the same issue with me? # HttpClient logging set to be ERROR log4j.category.org.apache.commons=ERROR the all httpclient loggi

disable httpclient logging

2004-06-04 Thread darren jiang
hello all, I want to disable the httpclient logging. but failed to do so, anyone has the same issue with me? my program uses log4j and also org.apache.commons packages. I have my own logging.properties as following: jdap.log.dir=/var/opt/SUNWappserver7/domains/cvmdomain/cvminstance/logs log4j.roo