Re: logging swallow output

2004-12-04 Thread Roberto Cosenza
Yes, I'm using a ConsoleAppender.
Are you telling me to use SimpleLog ?
I don't think that the link you sent me clarifies my ideas...
/rob
David Stevenson wrote:
Is your Log4j configured to use a ConsoleAppender?
That might possibly explain it.
http://jakarta.apache.org/commons/httpclient/logging.html
David Stevenson
 


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


logging swallow output

2004-12-03 Thread Roberto Cosenza
For some reason I still have a lot of messages getting to catalina.out 
even If I have swallowoutput=3 and my logger gets a copy of the message.
What can the problem be?
I use tomcat 5.0.28

--
Roberto Cosenza
Infoflex Connect AB, Sweden
Tel: +46-(0)8-55576860, Fax: +46-(0)8-55576861
--
Nordic Messaging Technologies is a trademark of Infoflex Connect.
Please visit www.nordicmessaging.se for more information about our
carrier-grade messaging products.

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


Re: logging swallow output

2004-12-03 Thread Ben Souther

On Fri, 2004-12-03 at 04:28, Roberto Cosenza wrote:
 For some reason I still have a lot of messages getting to catalina.out 
 even If I have swallowoutput=3 and my logger gets a copy of the message.
 What can the problem be?
 I use tomcat 5.0.28


You might want to take a look at the configruation documentation:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html

swallowOutput (which is case sensitive) is not looking for an int.
It's looking for true/false.

Here a working example:

Context path=/myapp  
 docBase=myapp 
 debug=0 
 crossContext=false  
 reloadable=false 
 privileged=false 
 swallowOutput=true
  Logger directory=f:\\tomcat\\logs
  className=org.apache.catalina.logger.FileLogger
  prefix=myapp_log. 
  suffix=.txt
  timestamp=true/
/Context








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



Re: logging swallow output

2004-12-03 Thread Roberto Cosenza
I did mean swallowOutput=true
My typo.
Problem still there, strange... (I'm using commons-logging + log4j to log)
Ben Souther wrote:
On Fri, 2004-12-03 at 04:28, Roberto Cosenza wrote:
 

For some reason I still have a lot of messages getting to catalina.out 
even If I have swallowoutput=3 and my logger gets a copy of the message.
What can the problem be?
I use tomcat 5.0.28
   


You might want to take a look at the configruation documentation:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
swallowOutput (which is case sensitive) is not looking for an int.
It's looking for true/false.
Here a working example:
Context path=/myapp  
docBase=myapp 
debug=0 
crossContext=false  
reloadable=false 
privileged=false 
swallowOutput=true
 Logger directory=f:\\tomcat\\logs
 className=org.apache.catalina.logger.FileLogger		   
 prefix=myapp_log. 
 suffix=.txt
 timestamp=true/
/Context




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


--
Roberto Cosenza
Infoflex Connect AB, Sweden
Tel: +46-(0)8-55576860, Fax: +46-(0)8-55576861
--
Nordic Messaging Technologies is a trademark of Infoflex Connect.
Please visit www.nordicmessaging.se for more information about our
carrier-grade messaging products.

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


Re: logging swallow output

2004-12-03 Thread David Stevenson
Is your Log4j configured to use a ConsoleAppender?
That might possibly explain it.

http://jakarta.apache.org/commons/httpclient/logging.html

David Stevenson

On Fri, 2004-12-03 at 08:22, Roberto Cosenza wrote:
 I did mean swallowOutput=true
 My typo.
 Problem still there, strange... (I'm using commons-logging + log4j to log)
 Ben Souther wrote:
 
 On Fri, 2004-12-03 at 04:28, Roberto Cosenza wrote:
   
 
 For some reason I still have a lot of messages getting to catalina.out 
 even If I have swallowoutput=3 and my logger gets a copy of the message.
 What can the problem be?
 I use tomcat 5.0.28
 
 
 
 
 You might want to take a look at the configruation documentation:
 http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
 
 swallowOutput (which is case sensitive) is not looking for an int.
 It's looking for true/false.
 
 Here a working example:
 
 Context path=/myapp  
  docBase=myapp 
  debug=0 
  crossContext=false  
  reloadable=false 
  privileged=false 
  swallowOutput=true
   Logger directory=f:\\tomcat\\logs
   className=org.apache.catalina.logger.FileLogger 
   prefix=myapp_log. 
   suffix=.txt
   timestamp=true/
 /Context
 
 
 
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
   
 
 


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