Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 37780 invoked from network); 17 Aug 2004 10:34:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Aug 2004 10:34:56 -0000 Received: (qmail 37093 invoked by uid 500); 17 Aug 2004 10:34:30 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 37065 invoked by uid 500); 17 Aug 2004 10:34:29 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 37052 invoked by uid 99); 17 Aug 2004 10:34:29 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HOT_NASTY X-Spam-Check-By: apache.org Received: from [204.74.20.252] (HELO sid.armstrong.com) (204.74.20.252) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 17 Aug 2004 03:34:26 -0700 Received: from joedog.org ([10.38.20.246]) by sid.armstrong.com (8.12.8p1/8.12.8) with ESMTP id i7HAbjTj030182 for ; Tue, 17 Aug 2004 05:37:45 -0500 Message-ID: <4121DF30.4030201@joedog.org> Date: Tue, 17 Aug 2004 06:34:24 -0400 From: Tim Funk Organization: Human being User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en, es-mx, de, sv MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How to combine tomcat log information with SOAP message content? References: <2D08426B7EAC7745B0AC1B0BD037944F0C7756@trebe003.europe.nokia.com> In-Reply-To: <2D08426B7EAC7745B0AC1B0BD037944F0C7756@trebe003.europe.nokia.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I assume your talking about access logs? If so, the accessLogValve and extendedaccesslogvalve allow for attibutes in the ServletRequest, Session, and ServletContext to be printed. AccessLog: %{xxx}c for a specific cookie %{xxx}r xxx is an attribute in the ServletRequest %{xxx}s xxx is an attribute in the HttpSession eg: %{foo}r would print the value returned by servletRequest.getAttribute("foo") ExtendedAccessLog x-A(XXX) - Pull XXX attribute from the servlet context x-C(XXX) - Pull the first cookie of the name XXX x-R(XXX) - Pull XXX attribute from the servlet request x-S(XXX) - Pull XXX attribute from the session x-P(...) - Call request.getParameter(...) eg: x-R{foo} would print the value returned by servletRequest.getAttribute("foo") -Tim timo.m.jaakola@nokia.com wrote: > Hi, > > How to combine tomcat log information (e.g. requestor's IP address, timestamp,...) with information available in SOAP message body parts containing application data? > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org