Struts itself uses commons logging.  So you can simply include the necessary jars from 
commons logging and say, log4j/jdk1.4 in conjunction with the respective properties 
files in your classpath to control how the messages are output.  You can learn a lot 
more about it at http://jakarta.apache.org/log4j/docs/index.html.

Of course, you can use the same technique to control and configure log messages 
generated by your application.

Sri

-----Original Message-----
From: Vladislav Kamensky [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 19, 2003 8:00 AM
To: [EMAIL PROTECTED]
Subject: question about logging


Hi,

how can I configure struts in oder to print log messages into file but not on console ?


Vlad.




---------------------------------------------------------------------
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]

Reply via email to