#### To configure the SIP Service Access Log

Use this page to enable and configure rotation for the access logs for the SIP service. These logs are in the `domain_root_dir/domain_dir/logs/access` directory and are named as follows: `virtual_server_name_access_log.yyyy-mm-dd.txt`

1. In the Developer profile, expand the Configuration node to select the SIP Service node.
2. In the Cluster or the Enterprise profile, select the required configuration and then select the SIP Service node.
3. Click the Access Log tab.
4. Define the Access Log settings as follows:

   - Rotation: Check the File Rotation box to enable file rotation.

   - Rotation Policy: Choose a policy from the Rotation Policy drop-down list. (The only policy available is `time`).

   - Rotation Interval: Enter 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.

     When you specify a rotation-interval, and the rotation interval has elapsed, the access log file will be rotated only if the resulting rotation suffix of the new access log file is different from the rotation suffix of the existing access log file. So, the rotation interval must coincide with the rotation suffix in order to see your access log file rotated within the expected time-frame interval.

   - Rotation Suffix: Enter a string value to specify the suffix to be added to the log file name after rotation. The default is `YYYY-MM-DD`.

   - Format: Enter a string value to specify the format of the access log. Use the formats shown in the following table. The default format is `%client.name% %auth-user-name% %datetime% %request% %status% %response.length%`.

     Data | Token
     --- | ---
     Client Host Name | `%client.name%`
     Client DNS | `%client.dns%`
     System Date | `%datetime%`
     Full SIP Request line | `%request%`
     Status | `%status%`
     Response Content Length | `%response.length%`
     Referer Header | `%header.referer%`
     User-agent | `%header.user-agent%`
     SIP Method | `%http-method%`
     SIP URI | `%http-uri%`
     SIP Query String | `%query-str%`
     SIP Protocol Version | `%http-version%`
     Accept Header | `%header.accept%`
     Date Header | `%header.date%`
     If-Modified-Since Header | `%header.if-mod-since%`
     Authorization Header | `%header.auth%`
     Any valid SIP header value defined in RFC 2616 (any is also a valid header value; it is specified as a variable here) | `%header`.any`%`
     Name of Authorized User | `%auth-user-name%`
     Value of a Cookie | `%cookie.value%`

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