tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmpaul012 <jeremypa...@gmail.com>
Subject Re: Tomcat Logging and HTTP Header question
Date Thu, 01 Dec 2011 17:05:58 GMT

Sorry, the only acronym I really used was STIG, but I probably shouldn'tve
included that in the question since it isn't really relavent to the
question.  STIGs are security proceduers the govt has to lock down their
software, servers, etc.


awarnier wrote:
> 
> jmpaul012 wrote:
>> So I am doing Tomcat STIGS and I am stuck on two of the STIGs.
> 
> It would be nice to explain acronyms, so that nincompoops like me would
> understand what's 
> going on without consulting Wikipedia..
> 
>> 
>> 1.  How do I change what tomcat logs?  I think it's something I need to
>> do
>> in server.xml but I'm not sure.  This is what I need to log:
>> 
>> • Date, Time
>> • IP address of the host that initiated the request
>> • User ID supplied for HTTP authentication
>> • HTTP Method
>> • URL in the request
>> • The protocol and protocol version used to make the request
>> • Source and destination port numbers
>> • Status codes for the response
>> • Size of the response in bytes
>> • HTTP Status and Referrer for the following events:
>> 
>> - Successful and unsuccessful attempts to access the web server software.
>> - Successful and unsuccessful attempts to access the web site.
>> - Successful and unsuccessful attempts to access the web application.
>> 
> Logging successful attempts should be feasible, but I can see problems for
> Tomcat logging 
> cases where the request doesn't even make it to Tomcat.
> 
> In any case, your first stop should probably be the on-line documentation
> for the 
> AccessLog Valve.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Tomcat-Logging-and-HTTP-Header-question-tp32892450p32896365.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message