# default file output is in user's home directory. java.util.logging.FileHandler.pattern = %h/java%u.log
You can also log to the console and depending on what you have setup your app server scripts to do with output to the console, it might go to std.out somewhere or something like it.
hth Adam
On 08/22/2003 05:14 PM Navjot Singh wrote:
use log4j or jdk1.4 logging.
|-----Original Message-----
|From: Louise Pryor [mailto:[EMAIL PROTECTED]
|Sent: Friday, August 22, 2003 8:38 PM
|To: Struts Users Mailing List
|Subject: Logging to application directory
|
|
|Is there any easy way of sending logs to somewhere in my application
|directory, rather than eg Tomcat/logs? The latter is OK when I'm
|developing the application on my own machine, but when I deploy onto
|my shared host I don't have access to the Tomcat logs directory. And
|however carefully I test on my own machine, I can't reproduce the
|environment exactly and there's always something that goes wrong.
|
|I have totally failed to get to grips with logging so far, so any help
|will be appreciated.
|
|Thanks
|
|Louise
|
|-- |Louise Pryor |http://www.louisepryor.com
|
|
|
|---------------------------------------------------------------------
|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]
-- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

