All docs This doc

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


If you want to log synapse/axis2 API requests in a custom directory, add the the access_log_directory property to the <ESB_HOME>/repository/conf/ file and specify the path to the custom directory. For example, access_log_dire ctory="/logs/wso2esblogs"Similarly, you can configure the following properties in the <ESB_HOME>/repository/conf/ file based on how the log format you want to log have for synapse/axis2 API requests.

  • Default access log pattern
    e.g., access_log_pattern=%{X-Forwarded-For}i %h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"

  • combinded combined log pattern
    e.g.,  access_log_pattern=%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"

  • common log pattern
    e.g.,  access_log_pattern=%h %l %u %t \"%r\" %s %b

  • file prefix
    e.g.,  access_log_prefix=http_access_

  • file suffix
    e.g.,  access_log_suffix=.log

  • file date format
    e.g.,  access_log_file_date_format=yyyy-MM-dd