<-
Apache > HTTP Server > Documentation > Version 2.2 > Modules

Please note

This document refers to the 2.2 version of Apache httpd, which is no longer maintained. The active release is documented here. If you have not already upgraded, please follow this link for more information.

You may follow this link to go to the current version of this document.

Apache Module mod_dumpio

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

Directives

top

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 via the below directives.

top

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

top

DumpIOLogLevel Directive

Description: Controls the logging level of the DumpIO output
Syntax: DumpIOLogLevel level
Default: DumpIOLogLevel debug
Context: server config
Status: Extension
Module: mod_dumpio
Compatibility: DumpIOLogLevel is only available in Apache 2.2.4 and later.

Enable dumping of all output at a specific LogLevel level.

Example

DumpIOLogLevel notice

Compatibility

Prior to 2.2.4 mod_dumpio would only dump to the log when LogLevel was set to debug
top

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

top