Logging


HTTP Proxy can log data passing through it.

To enable logging:

  1. Set the Logging Directory in the Preferences window (Edit -> Preferences).
  2. From the File menu, choose Enable Logging.

    When logging is enabled, the status panel (at the bottom of the window) will display the current logging directory.

HTTP Proxy generates two files for every connection to a web server:

The data logged is the actual data sent and received (for example, requests after modifications were made, responses before modification).

The filenames chosen are of the form: counter_targethost_targetport

The counter is incremented for every connection, and is reset every time logging is enabled.

Extensions of the files are:

In addition to the data files, HTTP Proxy generates one metadata file (named metadata), which contains additional information, such as timing information for connection, disconnection, requests, and responses, as well as SSL information for secure connections.

The data in the files is buffered, so they may not immediately be updated. The metadata file is flushed and closed when logging is disabled. The per-connection files are closed when their associated connection closes. Thus, even after you disable logging, some additional logging can occur.