RE: access log question + one more

2004-12-13 Thread Guy Katz
- From: Trond G. Ziarkowski [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 12:10 PM To: Tomcat Users List Subject: Re: access log question Hi! >so combined is just more information? > Yes. >so i guess webalizer knows how to deal >with that format also right? > &

Re: access log question

2004-12-13 Thread Trond G. Ziarkowski
Hi! so combined is just more information? Yes. so i guess webalizer knows how to deal with that format also right? I suggest you read up on webalizer's docs to find out which log formats it supports, but the answer is yes. what i currently have is seperate accesslog files created by tomcat e

RE: access log question

2004-12-13 Thread Guy Katz
lto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 12:45 AM To: Tomcat Users List Subject: Re: access log question Combined has the referer. Use the copy or move command to a name webalizer likes. -Tim Guy Katz wrote: > hello; > i have the line below in my server.xml > > director

Re: access log question

2004-12-13 Thread Trond G. Ziarkowski
Running linux? webalizer $CATALINA_HOME/logs/acces_log.`date +"%F"`.txt should do the trick Trond - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: access log question

2004-12-12 Thread Tim Funk
Combined has the referer. Use the copy or move command to a name webalizer likes. -Tim Guy Katz wrote: hello; i have the line below in my server.xml what is the difference between the 'common' and 'combined' values? also, the files the serer creates are access_log.2004-12-11.txt because i am usin

RE: Access Log Valve

2004-08-31 Thread Sinkinson,Andrew [NCR]
: Access Log Valve On Tue, Aug 31, 2004 at 10:29:09AM -0400, Sinkinson,Andrew [NCR] wrote: : Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> : I have enabled access logging by uncomment the Access Log Valve in the : server.xml file. I have added the resolveHosts attribute and

Re: Access Log Valve

2004-08-31 Thread QM
On Tue, Aug 31, 2004 at 10:29:09AM -0400, Sinkinson,Andrew [NCR] wrote: : Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> : I have enabled access logging by uncomment the Access Log Valve in the : server.xml file. I have added the resolveHosts attribute and set it to : true. I have also chang

Re: access log format

2004-05-21 Thread Tim Funk
Apache Commons Logger and accesslogs are 2 totally different topics. -Tim Hut Carspecken wrote: Hi, I was watching this thread and noticed that is was very close to my thread. I am trying to use Apache Commons Logger, but I will settle for this default logger. Two questions: how do I write to t

RE: access log format

2004-05-21 Thread Hut Carspecken
Hi, I was watching this thread and noticed that is was very close to my thread. I am trying to use Apache Commons Logger, but I will settle for this default logger. Two questions: how do I write to this file (i.e. what class, like log, would I call) and how do I set the verbosity (i.e. trace

RE: access log format

2004-05-20 Thread Nanda
Thank you Patrick!. did the trick. - Nanda > You can define a custom pattern. > > Below is the one I use. In there you can use ascii codes like " to > insert a quote. I haven't tried it so I am not sure if it works but you > could try to insert a tab character > > directory="logs"

Re: access log format

2004-05-20 Thread Tim Funk
Ya. Use a custom pattern. -Tim Nanda wrote: Is there a way to configure access log to have "TAB" as delimiter? I am using Tomcat 4.1.29. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

RE: access log format

2004-05-20 Thread Patrick Willart
You can define a custom pattern. Below is the one I use. In there you can use ascii codes like " to insert a quote. I haven't tried it so I am not sure if it works but you could try to insert a tab character grts, Patrick -Original Message- From: Nanda [mailto:[EMAIL PROTECTED] Sent

Re: access log

2004-03-19 Thread Tim Funk
Yes and no. No - because there isn't a parameter to do that. yes- Because it can still be done. here's how. 1) write you own pattern that is just like the access log format 2) change %t to be %{time}r 3) Write a Servlet filter on all requests which after the chain is executed, save a attribute

Re: Access log

2004-02-26 Thread Tim Funk
There is a property called fileDateFormat which takes a date format per SimpleDateFormat. So you can do things as crazy as log every second or rotate by month. Would create log files similar to: localhost_access_log.12 o'clock PM, Pacific Daylight Time.txt -Tim Juan de Bravo wrote: Hi, Is it

RE: Access log

2004-02-26 Thread Juan de Bravo
Thank you Tim for your answer. Juan. -Mensaje original- De: Tim Funk [mailto:[EMAIL PROTECTED] Enviado el: jueves, 26 de febrero de 2004 13:40 Para: Tomcat Users List Asunto: Re: Access log There is a property called fileDateFormat which takes a date format per SimpleDateFormat. So you

RE: access log

2004-02-03 Thread Shapira, Yoav
Howdy, >OK, there seem to be a few weblog analyzers out there - open-source and >able to read tomcat access logs - any recommendations? Webalizer is cool. So is http-analyze. Both are free. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and

Re: access log

2004-02-03 Thread Adam Hardy
On 02/03/2004 04:57 PM Yansheng Lin wrote: If you are not doing this for security/alerts, you can go and get an access log analyzer. There are tones of analyzers out there. If all fails, /xusage is still going to be there. And if your website becomes hugely successful, at that point of course yo

RE: access log

2004-02-03 Thread Yansheng Lin
becomes hugely successful, at that point of course you can get someone to develop it:). -Yan -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 1:23 AM To: Tomcat Users List Subject: Re: access log Hi Yan, I'm only writing the access logs

Re: access log

2004-02-03 Thread Adam Hardy
nfirm. Thanks! -Yan -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:53 AM To: Tomcat Users List Subject: RE: access log Howdy, re: asynchronous DB writes - Tim pointed out the JDBCAccessLogValve. I assume you are thinking that this would quickly

RE: access log

2004-02-02 Thread Yansheng Lin
hanks! -Yan -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:53 AM To: Tomcat Users List Subject: RE: access log Howdy, >re: asynchronous DB writes - Tim pointed out the JDBCAccessLogValve. I >assume you are thinking that

RE: access log

2004-02-02 Thread Shapira, Yoav
Howdy, >re: asynchronous DB writes - Tim pointed out the JDBCAccessLogValve. I >assume you are thinking that this would quickly become a bottleneck? Yeah, that's what I'm thinking. Writing the access log valve should be very very quick, very very scalable, or it easily becomes a bottleneck. Rem

Re: access log

2004-02-02 Thread Adam Hardy
On 02/02/2004 02:54 PM Shapira, Yoav wrote: - if anyone was thinking of adapting it to write to a database via jdbc? Too slow, unless done very carefully asynchronously (and then you have to really take care to keep entries in the right order, etc -- it's a nightmare). There are no open bugs agains

RE: access log

2004-02-02 Thread Shapira, Yoav
Howdy, >- if anyone was thinking of adapting it to write to a database via jdbc? Too slow, unless done very carefully asynchronously (and then you have to really take care to keep entries in the right order, etc -- it's a nightmare). >- how easy it would be to adapt the date output to '2004-02-0

Re: access log

2004-02-02 Thread Peter Lin
Log4J comes with a database appender, so in theory one could feed access logs to a database asynchronously. peter lin Tim Funk <[EMAIL PROTECTED]> wrote: There is already JDBCAccessLogValve. Look there first. I think there might be bugzilla report or two against it so I don't know how good

Re: access log

2004-02-02 Thread Tim Funk
There is already JDBCAccessLogValve. Look there first. I think there might be bugzilla report or two against it so I don't know how good it is. Personally I don't like using a database as an access logger. (Unless the database is asynchronously filled using a buffer) -Tim Adam Hardy wrote: I'

Re: access log/s

2003-09-14 Thread Tim Funk
Use a property called fileDateFormat. It is equal to something that gets passed to SimpleDateFormat(). For example to rotate each month ... Or to rotate each hour ... -Tim Paul Wallace wrote: Hello, How may I configure Tomcat to output monthly, rather than daily access log files? Thanks

Re: Access Log

2003-07-22 Thread Tim Funk
Property values are case sensitive when setting attributes in server.xml. See the javadocs for case and options. (Or the examples in the server.xml file) -Tim Snoopius wrote: Hi, I'm trying to trace the access to my apps with the access log valve inserting the following lines in server.xml :

Re: Access Log

2003-07-22 Thread simon
why not just use the default example in server.xml This is from my server.xml directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/> The problem might that you are using Logdirectory instead of directory

RE: Access Log Valve

2003-06-02 Thread Tyndall, David
Thanks Much worked GREAT -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 10:42 AM To: Tomcat Users List Subject: RE: Access Log Valve Howdy, Just comment it in server.xml. It's commented out by default. Yoav Shapira Mille

Re: CoyoteConnector (was Re: Access Log Valve)

2003-05-30 Thread Bill Barker
The j-t-c Releases are very old. There should be another j-t-c release coming out in the next few weeks. In the meantime, the safest bet is to do a CVS checkout (using the coyote_10 tag, to get the stable version), and build-from-source. For any TC 4.1.x, it should be possible to grab the 'tomca

Re: CoyoteConnector (was Re: Access Log Valve)

2003-05-30 Thread Geralyn M Hollerman
"Shapira, Yoav" wrote: > > Howdy, > Why not just use the latest tomcat release? It has the CoyoteConnector > by default. At a later date, we may. But for right now, I would like to be able to follow a HOW-TO that refers to uncommenting the CoyoteConnector to use it, and uncommenting it gives me

RE: CoyoteConnector (was Re: Access Log Valve)

2003-05-30 Thread Shapira, Yoav
ist >Subject: CoyoteConnector (was Re: Access Log Valve) > >"Shapira, Yoav" wrote: >> >> Howdy, >> Just comment it in server.xml. It's commented out by default. > >Question about some of those things commented out...the reference to a >CoyoteConnector as a

CoyoteConnector (was Re: Access Log Valve)

2003-05-30 Thread Geralyn M Hollerman
"Shapira, Yoav" wrote: > > Howdy, > Just comment it in server.xml. It's commented out by default. Question about some of those things commented out...the reference to a CoyoteConnector as a element is also commented out in the server.xml I have - and I tried un-commenting it to use CoyoteConnec

RE: Access Log Valve

2003-05-30 Thread Shapira, Yoav
Howdy, Just comment it in server.xml. It's commented out by default. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Tyndall, David [mailto:[EMAIL PROTECTED] >Sent: Thursday, May 29, 2003 10:40 AM >To: '[EMAIL PROTECTED]' >Subject: Access Log Valve > > >Ok I have TOM

RE: Access Log valve

2002-11-20 Thread Reynir Hübner
Ok, that's what I thought... Thanx. -reynir > -Original Message- > From: Tim Funk [mailto:[EMAIL PROTECTED]] > Sent: 20. nóvember 2002 16:48 > To: Tomcat Users List > Subject: Re: Access Log valve > > > There is no way unless you either: > -

Re: Access Log valve

2002-11-20 Thread Tim Funk
There is no way unless you either: - extend AccessLogValve to do your bidding - Use cron and shell scripting to massage your files into a format you like -Tim Reynir Hübner wrote: Hi, I have configured an access log valve, it works ok, except it always makes one file per day, I would like to

Re: Access log - single file, or multi day files

2002-11-07 Thread Ben Ricker
How about running a merge? Someone on the Apache list mentioned that Multisort http://www.xach.com/multisort/ it's a nice tool for merging logs.Would help in archiving also: merge, then compress, then backup. Ben Ricker Wellinx.com On Thu, 2002-11-07 at 07:13, neal wrote: > My ISP admin is sett

RE: Access log - single file, or multi day files

2002-11-07 Thread Turner, John
ing a service as root on port 80. John > -Original Message- > From: neal [mailto:nealcabage@;yahoo.com] > Sent: Thursday, November 07, 2002 8:45 AM > To: Tomcat Users List > Subject: RE: Access log - single file, or multi day files > > > Nah. I'm doing this all

RE: Access log - single file, or multi day files

2002-11-06 Thread neal
Wednesday, November 06, 2002 5:20 PM To: Tomcat Users List Subject: Re: Access log - single file, or multi day files The out of the box access log rotates daily. Thats it, nothing else. But you should be able to "easily" take the AccessLog valve - rename it to your own class (or extend i

Re: Access log - single file, or multi day files

2002-11-06 Thread Tim Funk
The out of the box access log rotates daily. Thats it, nothing else. But you should be able to "easily" take the AccessLog valve - rename it to your own class (or extend it possibly) and have it rotate like as you wish. If you are using apache - can you just ignore your tomcat logs (or turn the

Re: access log file

2002-05-22 Thread Robin Lee
Hello, I am using Tomcat4, and didn't know if we could do this either. So I just happened to look into it more now, and found out 4.0x does have this capability. I would have to change the word "common" to "combined". Check this link out. http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverx

RE: access log for Tomcat

2001-07-02 Thread Randy Layman
k.com/employees/randy/tomcat/RequestLogger.html Randy > -Original Message- > From: Hensley, Zachary [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 02, 2001 9:28 AM > To: '[EMAIL PROTECTED]' > Subject: RE: access log for Tomcat > > > I am trying to

RE: access log for Tomcat

2001-07-02 Thread Hensley, Zachary
. -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 9:52 AM To: [EMAIL PROTECTED] Subject: RE: access log for Tomcat You would have to write the Java code yourself to implement this new RequestInterceptor. You could hard code all of the

Re: access log for Tomcat

2001-06-18 Thread Neil Conway
On Mon, Jun 18, 2001 at 07:08:51AM -0400, Randy Layman wrote: > There isn't a module for Tomcat that does this that I know of (and > nothing built into Tomcat, regardless of what Luba says), although it should > be fairly easy to do - you need to write a RequestInterceptor that just > logs,

RE: access log for Tomcat

2001-06-18 Thread Randy Layman
rself" kind of effort. Randy > -Original Message- > From: David Rosenstark [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 18, 2001 9:27 AM > To: '[EMAIL PROTECTED]' > Subject: RE: access log for Tomcat > > > I assume that this means that I hav

RE: access log for Tomcat

2001-06-18 Thread David Rosenstark
I assume that this means that I have to do it all myself in terms of setting up different options to log? > -Original Message- > From: Randy Layman [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 18, 2001 1:09 PM > To: [EMAIL PROTECTED] > Subject: RE: access

RE: access log for Tomcat

2001-06-18 Thread Randy Layman
There isn't a module for Tomcat that does this that I know of (and nothing built into Tomcat, regardless of what Luba says), although it should be fairly easy to do - you need to write a RequestInterceptor that just logs, not intercepts, the requests. Randy -Original Message

RE: access log for Tomcat

2001-06-17 Thread David Rosenstark
knowledge -Original Message-From: Luba Powell [mailto:[EMAIL PROTECTED]]Sent: Sunday, June 17, 2001 2:57 PMTo: [EMAIL PROTECTED]Subject: Re: access log for Tomcat Similar logging capacity exists in version 3:   \conf\server.xml:   Logging in Tomcat is quite flexible

Re: access log for Tomcat

2001-06-17 Thread Luba Powell
both Servlet and Jasper.  Right now there are three standard log streams, "tc_log", "servlet_log", and "JASPER_LOG".  - Original Message - From: Luba Powell To: [EMAIL PROTECTED] Sent: Sunday, June 17, 2001 8:50 AM Subj

Re: access log for Tomcat

2001-06-17 Thread Luba Powell
David: There is a global entry:       prefix="catalina_log." suffix=".txt"  timestamp="true"/>   Are you saying that this doesn't work? - Original Message - From: David Rosenstark To: '[EMAIL PROTECTED]' Sent: Sunday, June 17, 2001 7:44 A

Re: Access Log for Tomcat in standAlone mode or Running Apache with Tomcat.

2000-11-30 Thread Moursli Nabil
In fact I get an segmentation faulft on any call to Tomcat from Apache. I have apache 1.3.12 and Tomcat 3.1. - Original Message - From: Krishna Kant <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 30, 2000 8:58 AM Subject: Re: Access Log for Tomcat i

Re: Access Log for Tomcat in standAlone mode or Running Apache with Tomcat.

2000-11-30 Thread Moursli Nabil
I Already did that after reading the doc first time! It just doesn't work. Tomcat is running on Mandrake 7.1, everythings is well setup, but I receive apj12 error and mod_jk problem... I did compile the source on the same OS version, but it didn't change nothing realy! It seems to be apache that

Re: Access Log for Tomcat in standAlone mode or Running Apache with Tomcat.

2000-11-29 Thread Krishna Kant
you will have to include the config file ( tomcat-apache) of tomcat in httpd of apache then start tomcat and start apache Moursli Nabil wrote: > Can anyone help me with this, I can't run TOMCAT with Apache, so the only > issu I see > is to run Tomcat in standAlone mode. If anyone know how to man