File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes accessing log files of one app for another app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "accessing log files of one app for another app" Watch "accessing log files of one app for another app" New topic
Author

accessing log files of one app for another app

C Vivek
Ranch Hand

Joined: Oct 03, 2004
Posts: 115
A Web-app in my Organisation creates some log files, which are inside its WEB-INF directory. Can I make another app within the same container to access contents within another app's WEB-INF ?

The reason I ask this is because I am not allowed to add any filters to the original app but can use the log files for further analysis. While this is currently being done manually , I would like to automate it.




Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30894
    
158

You can access any file on the server for which the user has write permissions. Many people don't store their logs under the app directory at all and multiple apps can access those.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: accessing log files of one app for another app