PM46717: HTTP CHANNEL ACCESS LOG CAN NOT BE CUSTOMIZED

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The HTTP Channel access log can not be customized and lacks
    key information.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Version    *
    *                  8.0 users utilizing the HTTP Channel        *
    *                  Center for Supercomputing Applications      *
    *                  (NCSA) access log                           *
    ****************************************************************
    * PROBLEM DESCRIPTION: The format within the HTTP Channel      *
    *                      NCSA access logs can not be customized  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The HTTP Channel NCSA access log only has two options for
    customization, COMMON and COMBINED. These options lack key
    information and customization.
    

Problem conclusion

  • To customize HTTP NCSA access logging, utilize the new
    functionality of the HTTP channel custom property
    "accessLogFormat". It will now accept a space separated list
    of directives. Each individual directive can have quotes
    around it. Any directive, unless otherwise noted, will use the
    value of "-" if no value is found. The list of directives
    available:
    * %a
    ** Remote IP Address
    * %A
    ** Local IP Address
    * %b
    ** Response size in bytes excluding headers
    * %B
    ** Response size in bytes excluding headers
    ** Will print 0 instead of - if no value is found
    * %C
    ** %{CookieName}C
    ** Prints the request cookie within the brackets or if the
    brackets are missing print them all
    * %D
    ** The elapsed time of the request. Millisecond accuracy,
    microsecond precision
    * %h
    ** Remote Host
    * %i
    ** %{HeaderName}i
    ** HeaderName header value from the request
    * %m
    ** Request Method
    * %o
    ** %{HeaderName}o
    ** HeaderName header value from the response
    * %q
    ** Output the query string with any password escaped
    * %r
    ** First line of the request
    * %s
    ** Status code of the response
    * %t
    ** NCSA format of the start time of the request
    * %{t}W
    ** Prints the current time when the message to the access log
    is queued to be logged in our NCSA format
    * %u
    ** Remote user according to the WebSphere Specific $WSRU header
    * %U
    ** URL Path, not including the query string
    
    To enable this new functionality please add the
    "accessLogFormat" custom property to the HTTP Channel, the
    panel on the administrative console can be found here:
    
    Application Servers > {Server Name} > Web Container Transport
    Chains > {Chain Name} > {HTTP Channel Name} > Custom Properties
    
    Also, please ensure the "Use chain-specific logging" option is
    enabled on the HTTP Channel where the previously mentioned
    property is enabled.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.0.0.2.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM46717

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-08-30

  • Closed date

    2011-10-28

  • Last modified date

    2012-08-14

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere Application Server
General

Software version:

8.0

Reference #:

PM46717

Modified date:

2012-08-14

Translate my page

Machine Translation

Content navigation