Setting up fetch and reverse access log files

For additional information to debug or troubleshoot a problem, you can set up two more log files:

  • Fetch log – logs a line for every rover fetch, in the format "fetched_url" "channel_root_url" "referring_url"

  • Reverse access log – logs a line for every rover fetch, in the format "host_address" userid[date_in_apache_format] "GET_url_HTTP/1.0" "statuscode/cacheresult_requesttime_size"

    Note

    The reverse access log output is compatible with Apache log standards, and so can be parsed by many log analyzer programs.

To set up fetch and reverse access log files for M-Business Server
  1. Using a text editor, open the file <M-Business_Home>/conf/sync.conf.default.

  2. Scroll to the bottom of the file.

  3. To enable a fetch log, enter the following on a new line:

    FetchLog @@ServerRoot@@/logs/fetch.log
  4. To enable a reverse access log, enter the following on a new line:

    ReverseAccessLog @@ServerRoot@@/logs/reverse.log
  5. Save the changes.

  6. Run the defaults_setup script located in the <M-Business_Home>/conf directory.

    Windows: Run defaults_setup.bat

    UNIX: Run defaults_setup

  7. Stop and restart M-Business Server services.

    See Starting, stopping, and restarting M-Business Server.