You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rick Castello <ri...@punk.net> on 2000/11/17 01:16:19 UTC

Tomcat server access logs?

I've searched the site, the FAQ, and what of the mailing lists
I could find, to no avail.

I am having great difficulty finding info on access logging for
Tomcat.  

I am running Tomcat solo, with Cocoon.  I am *not* running
it along with Apache server, as I am only serving XML/WML
pages- nothing static.

Does anyone have any help on access logging?
I need to track site stats, but don't get useful access info in my
tomcat.log file.  Is there a special verbosity that gives "normal"
access info, like Apache?

Many thanks!

-Rick Castello
rick@punk.net


Authentication

Posted by Miles Daffin <mi...@cwcom.net>.
Hi Tomcatters,

1) When using <auth-method>FORM with TC 3.2 beta 7 you can specify an error
page - which is nice.
Is it possible to do the same thing for <auth-method>BASIC ? Failed BASIC
auth results in a blank page - not great.

2) Using TC TC 3.2 beta 7 I can get <auth-method>BASIC to work fine -
protecting a whole app.
I tried shifting to <auth-method>FORM & odd things happened. The website is
found OK but it TC seems
to go into some kind of redirection loop - the browser status message
flickers rapidly between
"Website found, waiting for reply"
and
"Redirecting to: http://localhost:8080/myapp/login/login.jsp"

I know everyone's really busy but - any ideas?


¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø

Miles Daffin
Java Developer, Netherlands.

Land: +31 (0)10 476 2412
Mobile: +31 (0)6 2959 1423
Permanent email: miles.daffin@cwcom.net

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øøb


Re: Tomcat server access logs?

Posted by Rick Castello <ri...@punk.net>.
Thank you VERY much for the fast and helpful answer!

-Rick

----- Original Message ----- 
From: "Craig R. McClanahan" <Cr...@eng.sun.com>
To: <to...@jakarta.apache.org>
Sent: Thursday, November 16, 2000 4:28 PM
Subject: Re: Tomcat server access logs?


Rick Castello wrote:

> I've searched the site, the FAQ, and what of the mailing lists
> I could find, to no avail.
>
> I am having great difficulty finding info on access logging for
> Tomcat.
>
> I am running Tomcat solo, with Cocoon.  I am *not* running
> it along with Apache server, as I am only serving XML/WML
> pages- nothing static.
>
> Does anyone have any help on access logging?
> I need to track site stats, but don't get useful access info in my
> tomcat.log file.  Is there a special verbosity that gives "normal"
> access info, like Apache?
>

Tomcat 3.x does not have any access log style logging (although such a
module could be written fairly easily).  If you run Tomcat behind a web
server, all of the accesses to Tomcat will be included in the web
server's access log.

Tomcat 4.0 includes access log support for standalone mode "out of the
box.".

>
> Many thanks!
>
> -Rick Castello
> rick@punk.net

Craig McClanahan





Re: Tomcat server access logs?

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Rick Castello wrote:

> I've searched the site, the FAQ, and what of the mailing lists
> I could find, to no avail.
>
> I am having great difficulty finding info on access logging for
> Tomcat.
>
> I am running Tomcat solo, with Cocoon.  I am *not* running
> it along with Apache server, as I am only serving XML/WML
> pages- nothing static.
>
> Does anyone have any help on access logging?
> I need to track site stats, but don't get useful access info in my
> tomcat.log file.  Is there a special verbosity that gives "normal"
> access info, like Apache?
>

Tomcat 3.x does not have any access log style logging (although such a
module could be written fairly easily).  If you run Tomcat behind a web
server, all of the accesses to Tomcat will be included in the web
server's access log.

Tomcat 4.0 includes access log support for standalone mode "out of the
box.".

>
> Many thanks!
>
> -Rick Castello
> rick@punk.net

Craig McClanahan