mod_dumpio - Apache HTTP Server Version 2.4

Apache HTTP Server Version 2.4

Apache > HTTP Server > Documentation > Version 2.4 > Modules

# Apache Module mod_dumpio

Available Languages: en | fr | ja

Description: | Dumps all I/O to error log as desired.
Status: | Extension
Module Identifier: | dumpio_module
Source File: | mod_dumpio.c

### Summary

`mod_dumpio` allows for the logging of all input received by Apache and/or all output sent by Apache to be logged (dumped) to the error.log file.

The data logging is done right after SSL decoding (for input) and right before SSL encoding (for output). As can be expected, this can produce extreme volumes of data, and should only be used when debugging problems.

### Topics

- Enabling dumpio Support

### Directives

### Bugfix checklist

- httpd changelog
- Known issues
- Report a bug

### See also

- Comments

## Enabling dumpio Support

To enable the module, it should be compiled and loaded in to your running Apache configuration. Logging can then be enabled or disabled separately for input and output via the below directives. Additionally, `mod_dumpio` needs to be configured to `LogLevel` `trace7`:

    LogLevel dumpio:trace7

## DumpIOInput Directive

Description: | Dump all input data to the error log
Syntax: | `DumpIOInput On|Off`
Default: | `DumpIOInput Off`
Context: | server config
Status: | Extension
Module: | mod_dumpio
Compatibility: | DumpIOInput is only available in Apache 2.1.3 and later.

Enable dumping of all input.

### Example

    DumpIOInput On

## DumpIOOutput Directive

Description: | Dump all output data to the error log
Syntax: | `DumpIOOutput On|Off`
Default: | `DumpIOOutput Off`
Context: | server config
Status: | Extension
Module: | mod_dumpio
Compatibility: | DumpIOOutput is only available in Apache 2.1.3 and later.

Enable dumping of all output.

### Example

    DumpIOOutput On

Available Languages: en | fr | ja

## Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Libera.chat, or sent to our mailing lists.