# Logging

Each time Keyfax is launched, an optional entry can be added to the KeyNamics log. Each log entry contains the Startup and Export data, sent to, and received from, Keyfax, together with any error messages. Logging can be switced off as required - see KeyNamics [Settings](/product-suite/keynamics/configuration/settings.md)

### Viewing Log Entries

The Active Logging view summarises all log events

<figure><img src="/files/pdxtBd1wJGRMAeDBoJM3" alt=""><figcaption></figcaption></figure>

Click the name (long number!) to drill down:

<figure><img src="/files/tj2h80Tp0td0TlaStcBu" alt=""><figcaption></figcaption></figure>

### Fields

A description of each logging field follows...

#### **Exception**

This area will show any errors or exceptions that may occur. In the event of any errors that cannot be resolved, please follow your normal support channels.

Note that errors may also appear in the 'Startup XML Response' or 'Export Result XML Response' fields below.

#### **Startup XML Request**

This field displays the raw Startup XML that will be sent to Keyfax. It is a result of all your global and entity-level mappings. This will help anyone trying to resolve any issues with mapping.

#### **Startup XML Response**

This field contains the response to the initial exchange between KeyNamics and Keyfax. It will normally contain a URL used for launching Keyfax.

#### **Export Result XML Request**

This field contains results of the request for Export data at the end of a Keyfax script diagnosis.

**Export Result XML Response**

This field show the export data as a result of the Keyfax diagnostic.

{% hint style="info" %}
**TIP** In its raw form, it is difficult to read this XML. Mark then copy the text and save it as a .xml file then view it in a browser.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keyfax.biz/product-suite/keynamics/configuration/logging.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
