2 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
4 <!-- $LastChangedRevision$ -->
7 Licensed to the Apache Software Foundation (ASF) under one or more
8 contributor license agreements. See the NOTICE file distributed with
9 this work for additional information regarding copyright ownership.
10 The ASF licenses this file to You under the Apache License, Version 2.0
11 (the "License"); you may not use this file except in compliance with
12 the License. You may obtain a copy of the License at
14 http://www.apache.org/licenses/LICENSE-2.0
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
23 <modulesynopsis metafile="mod_dumpio.xml.meta">
25 <name>mod_dumpio</name>
26 <description>Dumps all I/O to error log as desired.</description>
27 <status>Extension</status>
28 <sourcefile>mod_dumpio.c</sourcefile>
29 <identifier>dumpio_module</identifier>
32 <p><code>mod_dumpio</code> allows for the logging of
33 all input received by Apache and/or all output sent by
34 Apache to be logged (dumped) to the error.log file.
37 <p>The data logging is done right after SSL decoding (for
38 input) and right before SSL encoding (for output). As can
39 be expected, this can produce extreme volumes of data,
40 and should only be used when debugging problems.</p>
44 <title>Enabling dumpio Support</title>
46 <p>To enable the module, it should be compiled and loaded
47 in to your running Apache configuration. Logging can then
48 be enabled or disabled separately for input and output via
49 the below directives. Additionally, <module>mod_dumpio</module>
50 needs to be configured to <directive
51 module="core">LogLevel</directive> <code>trace7</code>:
53 <highlight language="config">
54 LogLevel dumpio:trace7
60 <name>DumpIOInput</name>
61 <description>Dump all input data to the error log</description>
62 <syntax>DumpIOInput On|Off</syntax>
63 <default>DumpIOInput Off</default>
64 <contextlist><context>server config</context></contextlist>
65 <compatibility>DumpIOInput is only available in Apache 2.1.3 and
66 later.</compatibility>
69 <p>Enable dumping of all input.</p>
71 <example><title>Example</title>
72 <highlight language="config">
82 <name>DumpIOOutput</name>
83 <description>Dump all output data to the error log</description>
84 <syntax>DumpIOOutput On|Off</syntax>
85 <default>DumpIOOutput Off</default>
86 <contextlist><context>server config</context></contextlist>
87 <compatibility>DumpIOOutput is only available in Apache 2.1.3 and
88 later.</compatibility>
91 <p>Enable dumping of all output.</p>
93 <example><title>Example</title>
94 <highlight language="config">