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-13 Thread Guy Katz

hi;
so combined is just more information? so i guess webalizer knows how to deal
with that format also right?
also, can you please ellaborate on 'Use the copy or move command to a name
webalizer likes.'
what i currently have is seperate accesslog files created by tomcat each
day. i want webalizer to generate data for all files. i dont know if
webalizer get multiple files so i feagured that tomcat might have the option
to accumulate one file instead of creating a file per day.
what should i do in order to get this behaviour?
thanks.

-Original Message-
From: Tim Funk [mailto:[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
 
 Valve className=org.apache.catalina.valves.AccessLogValve
 directory=logs
  prefix=access_log. suffix=.txt pattern=common/
 
 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 using webalizer to view stats(and know how to point it to a
 single file), i want the server to accumulate all data to the same access
 log file. or something better than a file per day/
 how can i achieve this?
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 each
day. i want webalizer to generate data for all files. i dont know if
webalizer get multiple files so i feagured that tomcat might have the option
to accumulate one file instead of creating a file per day.
what should i do in order to get this behaviour?
 

To have tomcat log to one file you should *read the docs* for the Access 
Log Valve, which you can find here: 
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html#Access%20Log%20Valve

Trond
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: access log question + one more

2004-12-13 Thread Guy Katz
thanks for the help
i actually read the docs before posting this here. but missed that the date
format also determines the rotation granularity
thanks for the help.

another question is:
isnt the tomcat JNDI mail session absolete in the time of authentication
before sending?
most websited have many email accounts ([EMAIL PROTECTED], [EMAIL PROTECTED]
etc...).
every account should be authenticated before sending so in this case should
i put several JNDI mail sessions?
whats the best option? is it even possivle to use JNDI mail session who is
authenticated?

-Original Message-
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?
  

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 each
day. i want webalizer to generate data for all files. i dont know if
webalizer get multiple files so i feagured that tomcat might have the
option
to accumulate one file instead of creating a file per day.
what should i do in order to get this behaviour?
  

To have tomcat log to one file you should *read the docs* for the Access 
Log Valve, which you can find here: 
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html#Access%20L
og%20Valve

Trond

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
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
Valve className=org.apache.catalina.valves.AccessLogValve
directory=logs
 prefix=access_log. suffix=.txt pattern=common/
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 using webalizer to view stats(and know how to point it to a
single file), i want the server to accumulate all data to the same access
log file. or something better than a file per day/
how can i achieve this?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


access log question

2004-12-12 Thread Guy Katz
hello;
i have the line below in my server.xml

Valve className=org.apache.catalina.valves.AccessLogValve
directory=logs
 prefix=access_log. suffix=.txt pattern=common/

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 using webalizer to view stats(and know how to point it to a
single file), i want the server to accumulate all data to the same access
log file. or something better than a file per day/
how can i achieve this?

thanks.

Guy Katz
Allot Communications
[EMAIL PROTECTED]
tel: +972 9 7619288
fax: +972 9 7443626


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]