Re: how does the tomcat log generated? log4j?

2010-12-26 Thread maven apache
Thanks,I will have a try. 2010/12/25 Konstantin Kolinko knst.koli...@gmail.com 2010/12/25 maven apache apachemav...@gmail.com: Perhaps I’m not making myself clear,in fact I want to do some processing work to the the logs created by the access log valve

Re: how does the tomcat log generated? log4j?

2010-12-26 Thread maven apache
2010/12/25 André Warnier a...@ice-sa.com The logging page which I pointed you to, does not say that Tomcat uses log4j. It says that you /can/ configure Tomcat to use log4j, instead of the default juli logging. It even provides instructions to do so. The AccessLogValve documentation page

Re: how does the tomcat log generated? log4j?

2010-12-26 Thread maven apache
2010/12/26 Pid p...@pidster.com On 25/12/2010 04:37, maven apache wrote: Hi: I wonder how is the tomcat log generated,I mean the log like this; localhost_access_log.2010-12-20.txt I want to export the logs to db. Some one suggestion I directly add one Appender

Re: how does the tomcat log generated? log4j?

2010-12-26 Thread André Warnier
maven apache wrote: 2010/12/25 André Warnier a...@ice-sa.com The logging page which I pointed you to, does not say that Tomcat uses log4j. It says that you /can/ configure Tomcat to use log4j, instead of the default juli logging. It even provides instructions to do so. The AccessLogValve

Re: how does the tomcat log generated? log4j?

2010-12-26 Thread maven apache
2010/12/26 André Warnier a...@ice-sa.com maven apache wrote: 2010/12/25 André Warnier a...@ice-sa.com The logging page which I pointed you to, does not say that Tomcat uses log4j. It says that you /can/ configure Tomcat to use log4j, instead of the default juli logging. It even provides

Re: how does the tomcat log generated? log4j?

2010-12-25 Thread André Warnier
Hi. It is not very clear what you are asking, specially since you do not specify which version of Tomcat your are using, under which Java version and on which platform. Assuming you are using Tomcat 6.0.x, the on-line documentation for logging is here :

Re: how does the tomcat log generated? log4j?

2010-12-25 Thread maven apache
Perhaps I’m not making myself clear,in fact I want to do some processing work to the the logs created by the access log valvehttp://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Access_Log_Valveto database. For example:the log: 10.33.2.45 - - [08/Dec/2010:08:44:43 +0800] GET /poi.txt

Re: how does the tomcat log generated? log4j?

2010-12-25 Thread Konstantin Kolinko
2010/12/25 maven apache apachemav...@gmail.com: Perhaps I’m not making myself clear,in fact I want to do some processing work to the the logs created by the access log valvehttp://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Access_Log_Valveto database. You can use JDBCAccessLogValve

Re: how does the tomcat log generated? log4j?

2010-12-25 Thread André Warnier
The logging page which I pointed you to, does not say that Tomcat uses log4j. It says that you /can/ configure Tomcat to use log4j, instead of the default juli logging. It even provides instructions to do so. The AccessLogValve documentation page does not say either that it uses log4j. But

Re: how does the tomcat log generated? log4j?

2010-12-25 Thread Konstantin Kolinko
2010/12/25 André Warnier a...@ice-sa.com: The AccessLogValve documentation page does not say either that it uses log4j. AccessLogValve (and ExtendedAccessLogValve) manage the log file by themselves. They do not use logging framework in this sense. Best regards, Konstantin Kolinko

Re: how does the tomcat log generated? log4j?

2010-12-25 Thread Pid
On 25/12/2010 04:37, maven apache wrote: Hi: I wonder how is the tomcat log generated,I mean the log like this; localhost_access_log.2010-12-20.txt I want to export the logs to db. Some one suggestion I directly add one Appender http://logging.apache.org/log4j/1.2/apidocs/index.html if

how does the tomcat log generated? log4j?

2010-12-24 Thread maven apache
Hi: I wonder how is the tomcat log generated,I mean the log like this; localhost_access_log.2010-12-20.txt I want to export the logs to db. Some one suggestion I directly add one Appender http://logging.apache.org/log4j/1.2/apidocs/index.html if tomcat also uses log4j to generate the logs and I