diff --git a/documentation/configuring.sgml b/documentation/configuring.sgml
index 5130c5940c..0b575ec045 100644
--- a/documentation/configuring.sgml
+++ b/documentation/configuring.sgml
@@ -129,7 +129,7 @@
Direct port access
- [spy]
+ [Debug]noWhat to do with certain debug messages
@@ -807,13 +807,16 @@ OPTIONAL:
-
- The [spy], [Registry], [tweak.layout], and [programs] Sections
+
+ The [Debug], [Registry], [tweak.layout], and [programs] Sections
- [spy] is used to include or exclude debug messages, and to
+ [Debug] is used to include or exclude debug messages, and to
output them to a file. The latter is rarely used. THESE
ARE ALL OPTIONAL AND YOU PROBABLY DON'T NEED TO ADD OR
- REMOVE ANYTHING IN THIS SECTION TO YOUR CONFIG.
+ REMOVE ANYTHING IN THIS SECTION TO YOUR CONFIG. (In extreme
+ cases you may want to use these options to manage the amount
+ of information generated by the --debugmsg +relay
+ option.)
"File" = "/blanco"
@@ -821,15 +824,35 @@ OPTIONAL:
THIS IS RARELY USED.
- "Exclude" = "WM_SIZE;WM_TIMER;"
+ "SpyExclude" = "WM_SIZE;WM_TIMER;"
Excludes debug messages about WM_SIZE
and WM_TIMER in the logfile.
- "Include" = "WM_SIZE;WM_TIMER;"
+ "SpyInclude" = "WM_SIZE;WM_TIMER;"
Includes debug messages about WM_SIZE
and WM_TIMER in the logfile.
+
+ "RelayInclude" = "user32.CreateWindowA;comctl32.*"
+ Include only the listed functions in a
+ --debugmsg +relay trace. This entry is
+ ignored if there is a RelayExclude entry.
+
+
+ "RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
+ Exclude the listed functions in a
+ --debugmsg +relay trace. This entry
+ overrides any settings in a RelayInclude
+ entry. If neither entry is present then the trace includes
+ everything.
+
+
+ In both entries the functions may be specified either as a
+ function name or as a module and function. In this latter
+ case specify an asterisk for the function name to include
+ all functions in the module.
+
[Registry] can be used to tell wine where your old windows
registry files exist. This section is completely optional
diff --git a/documentation/running.sgml b/documentation/running.sgml
index e49af31381..05ca587b53 100644
--- a/documentation/running.sgml
+++ b/documentation/running.sgml
@@ -112,7 +112,11 @@ Options:
complex application, your debug logs can easily top 1 MB and
higher. A relay trace can often
generate more than 10 MB of log messages, depending on how
- long you run the application. Logging does slow down Wine
+ long you run the application. (As described in the
+ Debug
+ section of configuring wine you can
+ modify what the relay trace reports).
+ Logging does slow down Wine
quite a bit, so don't use --debugmsg
unless you really do want log files.