Re: tomcat access logs

2010-07-17 Thread Mark Thomas
On 17/07/2010 22:24, Johan Martinez wrote: Hi, How do we configure access logs for tomcat so that we get details similar to apache-httpd server? e.g. I would like to view (HTTP) request type , IP address etc. in my logs. Any suggestions or resources on how to configure it?

Re: tomcat access logs

2010-07-17 Thread Johan Martinez
Thanks a lot... -- jM. On Sat, Jul 17, 2010 at 4:26 PM, Mark Thomas ma...@apache.org wrote: On 17/07/2010 22:24, Johan Martinez wrote: Hi, How do we configure access logs for tomcat so that we get details similar to apache-httpd server? e.g. I would like to view (HTTP) request type

Re: tomcat Access logs

2009-05-25 Thread Vijay
Hi, Any help will be useful... should i write a custom log4j class instead of accessvalve class in tomcat? Regards, /VJ On Thu, May 21, 2009 at 4:06 PM, Vijay vijay2...@gmail.com wrote: Hi, I am using a tomcat tailer which needs the file name to be the same and not changinging (Dont want

Re: tomcat Access logs

2009-05-25 Thread André Warnier
Vijay wrote: Hi, Any help will be useful... should i write a custom log4j class instead of accessvalve class in tomcat? ... Yeah, well, welcome to the beautiful and mysterious world of Tomcat logging. It is unfortunately totally incomprehensible to mere mortals, and you will need the

RE: tomcat Access logs

2009-05-25 Thread Martin Gainty
: vijay2...@gmail.com Date: Mon, 25 May 2009 10:36:15 -0700 Subject: Re: tomcat Access logs To: users@tomcat.apache.org Hi, Any help will be useful... should i write a custom log4j class instead of accessvalve class in tomcat? Regards, /VJ On Thu, May 21, 2009 at 4:06 PM, Vijay

Re: tomcat Access logs

2009-05-25 Thread Konstantin Kolinko
2009/5/22 Vijay vijay2...@gmail.com: Hi, I am using a tomcat tailer which needs the file name to be the same and not changinging (Dont want to see the Date in the file name). hence i want a solution to have the logs rotated as well as the file name of the active log files to remain the

Re: tomcat Access logs

2009-05-25 Thread Vijay
: tomcat Access logs To: users@tomcat.apache.org Hi, Any help will be useful... should i write a custom log4j class instead of accessvalve class in tomcat? Regards, /VJ On Thu, May 21, 2009 at 4:06 PM, Vijay vijay2...@gmail.com wrote: Hi, I am using a tomcat tailer which

RE: Tomcat access logs

2008-02-07 Thread Martin Gainty
Apache HTTP Server (httpd.conf) rotate every 24 hoursCustomLog |/usr/local/apache/bin/rotatelogs/var/log/access_log 86400 common Postgres rotate every 24 hourspg_ctl start | rotatelogs /var/log/pgsql_log 86400 HTHMartin__Disclaimer and confidentiality

Re: Tomcat access logs

2008-02-07 Thread Tim Funk
Add this to cron: (use google to decode) 0 0 * * * find /TCLOG_DIR/localhost_access_log* ! -mtime -30|xargs rm -Tim Vamsavardhana Reddy wrote: Is there a way to specify how many days access logs should be retained by tomcat so that old access logs (for e.g. more than a month old) are