File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Question about logging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Question about logging" Watch "Question about logging" New topic

Question about logging

Mike Himstead
Ranch Hand

Joined: Apr 12, 2006
Posts: 178

1) Since one can't write within a web application directory a good place for an application's log is Tomcat's log directory. Is there a container variable to access the container's log directory or do I have to navigate to it by something like ../../logs/app-name/

2) Do I have to expect problems with user rights when accessing the log file?
I agree. Here's the link:
subject: Question about logging
It's not a secret anymore!