Sun Java System Application Server Platform Edition 8.2 Administration Guide

ProcedureTo configure the HTTP Service access log

Use this page to enable and configure rotation for the access logs for the virtual servers. These logs are in the domain-dir/logs/access directory and are named as follows: virtual-server-name_access_log%YYYY;%MM;%DD-%hh;h%mm;m%ss;s.

Click Default to load the default values.

  1. Check the File Rotation box to turn on file rotation.

    By default, file rotation is enabled.

  2. From the Rotation Policy drop-down list, choose a policy.

    The only policy available is time.

  3. In the Rotation Interval field, type a numeric value to specify the number of minutes between rotations of the access log.

    This field is valid only if the Rotation Policy is time. The default is 1440 minutes.

  4. In the Rotation Suffix field, type a string value to specify the suffix to be added to the log file name after rotation.

    The default is %YYYY;%MM;%DD;-%hh;h%mm;m%ss;s.

  5. In the Format field, enter a string value to specify the format of the access log.

    Use the formats shown in the following table. The default format is %auth-user-name% %datetime% %request% %status% %response.length%.



    Client Host Name

    Client DNS 


    System Date 


    Full HTTP Request line 




    Response Content Length 


    Referer Header 




    HTTP Method 




    HTTP Query String 


    HTTP Protocol Version 


    Accept Header 


    Date Header

    If-Modified-Since Header 


    Authorization Header 


    Any valid HTTP header value defined in RFC 2616 (any is also a valid header value; it is specified as a variable here)


    Name of Authorized User 


    Value of a Cookie 


    Virtual Server ID

  6. Click Save to save the changes, or Load Defaults to return to the default settings.