diff --git a/docs/building.html b/docs/building.html
index 7926bf451..73d793658 100644
--- a/docs/building.html
+++ b/docs/building.html
@@ -215,6 +215,14 @@ with the libtorrent package.
+
upnp-logging |
+
+- off - default. Does not log UPnP traffic.
+- on - creates "upnp.log" with the messages
+sent to and received from UPnP devices.
+
+ |
+
openssl |
- pe - turns on support for encrypted
@@ -456,6 +464,11 @@ the session log.
|
checks in the storage, including logging of
piece sorting.
+TORRENT_UPNP_LOGGING |
+Generates a "upnp.log" file with the UPnP
+traffic. This is very useful when debugging
+support for various UPnP routers. |
+
UNICODE |
If building on windows this will make sure the
UTF-8 strings in pathnames are converted into
diff --git a/docs/building.rst b/docs/building.rst
index 44dd86710..ecb7ba82d 100644
--- a/docs/building.rst
+++ b/docs/building.rst
@@ -213,6 +213,10 @@ Build features:
| | * ``shipped`` - links against the zlib bundled |
| | with the libtorrent package. |
+------------------------+----------------------------------------------------+
+| ``upnp-logging`` | * ``off`` - default. Does not log UPnP traffic. |
+| | * ``on`` - creates "upnp.log" with the messages |
+| | sent to and received from UPnP devices. |
++------------------------+----------------------------------------------------+
| ``openssl`` | * ``pe`` - turns on support for encrypted |
| | connections. requires openssl (libcrypto) |
| | * ``sha-1`` - openssl will be used instead of the |
@@ -445,6 +449,10 @@ defines you can use to control the build.
| | checks in the storage, including logging of |
| | piece sorting. |
+---------------------------------+-------------------------------------------------+
+| ``TORRENT_UPNP_LOGGING`` | Generates a "upnp.log" file with the UPnP |
+| | traffic. This is very useful when debugging |
+| | support for various UPnP routers. |
++---------------------------------+-------------------------------------------------+
| ``UNICODE`` | If building on windows this will make sure the |
| | UTF-8 strings in pathnames are converted into |
| | UTF-16 before they are passed to the file |
|