Re: Tomcat log files - Strict permissions - setuid

2015-12-03 Thread Mark H. Wood
On Thu, Dec 03, 2015 at 10:42:40AM -0300, Andres Riancho wrote: > List, > > I'm trying to secure my tomcat instances. One of the steps I took > was to run the tomcat process using the non-privileged "tomcat" user, > and set the file system permissions as restrictive as possible. It all >

Re: Tomcat log files - Strict permissions - setuid

2015-12-03 Thread Christopher Schultz
Andres, On 12/3/15 8:42 AM, Andres Riancho wrote: > List, > > I'm trying to secure my tomcat instances. One of the steps I took > was to run the tomcat process using the non-privileged "tomcat" user, > and set the file system permissions as restrictive as possible. It all > works well, but

Tomcat log files - Strict permissions - setuid

2015-12-03 Thread Andres Riancho
List, I'm trying to secure my tomcat instances. One of the steps I took was to run the tomcat process using the non-privileged "tomcat" user, and set the file system permissions as restrictive as possible. It all works well, but there is something missing: "The tomcat user is able to read the

Re: Tomcat log files

2010-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tobias, On 11/15/2010 10:43 AM, Tobias Crefeld wrote: Am Tue, 09 Nov 2010 16:06:14 -0500 schrieb Christopher Schultz ch...@christopherschultz.net: Have you correctly replaced lib/tomcat-juli.jar and installed lib/tomcat-juli-adapters.jar? If

Re: Tomcat log files

2010-11-15 Thread Tobias Crefeld
Am Tue, 09 Nov 2010 16:06:14 -0500 schrieb Christopher Schultz ch...@christopherschultz.net: Have you correctly replaced lib/tomcat-juli.jar and installed lib/tomcat-juli-adapters.jar? If not, you may be falling back to the old logger which requires logging.properties. For whatever-reason and

Tomcat log files

2010-11-09 Thread Timothy Lam
I'm trying to clean up Tomcat logging to use log4j. I've read the Tomcat logging guide that comes with my version of Tomcat 6.0.28. I'm really confused with all the different log files that are being generated in the default Tomcat before log4j configuration. Why are there so many different

Re: Tomcat log files

2010-11-09 Thread Mark Shifman
you need to look at http://tomcat.apache.org/tomcat-6.0-doc/logging.html and do what it says for log4j On 11/09/2010 01:48 PM, Timothy Lam wrote: I'm trying to clean up Tomcat logging to use log4j. I've read the Tomcat logging guide that comes with my version of Tomcat 6.0.28. I'm really

Re: Tomcat log files

2010-11-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timothy, On 11/9/2010 1:48 PM, Timothy Lam wrote: I'm trying to clean up Tomcat logging to use log4j. I've read the Tomcat logging guide that comes with my version of Tomcat 6.0.28. Excellent. I'm really confused with all the different log

Re: Tomcat log files

2010-11-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timothy, On 11/9/2010 4:06 PM, Christopher Schultz wrote: I'm not sure why the documentation doesn't show an equivalent configuration for log4j. Maybe I'll write one and submit it for inclusion. Without testing it, I've written this log4j

Re: Tomcat log files

2010-11-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timothy, My CONSOLE appender was foolishly configured. On 11/9/2010 4:35 PM, Christopher Schultz wrote: log4j.appender.CONSOLE=org.apache.log4j.DailyRollingFileAppender log4j.appender.CONSOLE.file=${catalina.base}/logs/.

Re: Retrieving tomcat log files within war

2008-07-25 Thread Johnny Kewl
- Original Message - From: Jerry Atrick [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, July 25, 2008 12:19 AM Subject: Retrieving tomcat log files within war Is there a way to programmically retrieve the tomcat log files? I can reconstruct the log location by doing

Retrieving tomcat log files within war

2008-07-24 Thread Jerry Atrick
Is there a way to programmically retrieve the tomcat log files? I can reconstruct the log location by doing a new File(System.getProperty(catalina.base)), logFileIwant ) but I'm wondering if there's a better way... Anyone had any experience with doing this?

is there any log file viewer for tomcat log files with live feed ability

2006-01-01 Thread Legolas Woodland
Hi Thank you for reading my post. im developing some application and i have problem with viewing the Log file of application server everytime. is there any tool that could automatically fetch the changes from log file and show them instantly ? for example if i ask it to monitor application

Re: is there any log file viewer for tomcat log files with live feed ability

2006-01-01 Thread Wolfgang Egger
Servus Legolas, Legolas Woodland schrieb: my experiences with tomcat are some years old and I'm new to tomcat again since some weeks, but perhaps my hint may help you fooking further ... is there any tool that could automatically fetch the changes from log file and show them instantly ? for

Re: is there any log file viewer for tomcat log files with live feed ability

2006-01-01 Thread Wolfgang Egger
Servus Legolas, Legolas Woodland schrieb: could you please tell me more ? how i can configure log4j , which client i should use ? Sorry, the last time i used log4j, was 3 years ago, so I don't remember the details. But you may have a look at google and the urls above