# XML Debugger Plugin Readme

## Overview

The xml debugger plugin prints XML traffic to the stdout. The plugin will print raw XML as it was received and sent by the server as well as interpreted XML (i.e. parsed XML). By default the plugin will only print raw XML.

## Installation

Copy xmldebugger.jar into the plugins directory of your Openfire installation. The plugin will then be automatically deployed. To upgrade to a new version, copy the new xmldebugger.jar file over the existing file.

## Configuration

The debugger plugin is configured via Openfire system properties. These can be configured under Server/Server Manager/System Properties:

- `plugin.debugger.interpretedAllowed` -- true to print XML packets after they were parsed by the server. This only includes incoming traffic. The default value is false.

## Using the Plugin

Traffic generated by sessions created after the plugin was installed will be captured and printed.