r3 - 15 Nov 2006 - 14:04:56 - TravisVachonYou are here: OSAF >  Documentation Web  >  ContributorNotes > TravisVachonNotes > ZeroDotSixHostedServiceFeatures > HttpLoggingFilterDoc
HttpLoggingFilter can be configured as a normal filter in web.xml. It takes an (optional) <init-param> "format". "format" should be a string which controls the output of the HttpLoggingFilter. All characters in the format string will be printed normally, except for those found in the following table:

Request parameter/ output Formatting String Request Object Access Method
Method %M getMethod()
Scheme %C getScheme()
Server %S getServerName()
Port %P getServerPort()
Request URI %U getRequestURI()
Content Length %L getContentLength()
Query String %Q getQueryString()
Session Id %I getSession().getId()
Auth Principal %A calculated
% %% NA

-- TravisVachon - 14 Nov 2006

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.