summary refs log tree commit diff
path: root/latest/structured_logging.html
diff options
context:
space:
mode:
authorreivilibre <reivilibre@users.noreply.github.com>2022-03-08 15:38:01 +0000
committerreivilibre <reivilibre@users.noreply.github.com>2022-03-08 15:38:01 +0000
commit8a540c45ecfb30eebe4c9873dbe6c8bab45a640b (patch)
treec66f066fc1dd3094b54985138403903f2807d3e0 /latest/structured_logging.html
parentdeploy: 4aeb00ca20a0d9dbb2a104591aca081c723eb6d9 (diff)
downloadsynapse-8a540c45ecfb30eebe4c9873dbe6c8bab45a640b.tar.xz
deploy: b1989ced00cc0bc6214bfd1a393c7e8f8eda660c
Diffstat (limited to 'latest/structured_logging.html')
-rw-r--r--latest/structured_logging.html12
1 files changed, 5 insertions, 7 deletions
diff --git a/latest/structured_logging.html b/latest/structured_logging.html
index 6d442a077f..4fbc0c093d 100644
--- a/latest/structured_logging.html
+++ b/latest/structured_logging.html
@@ -252,13 +252,11 @@ loggers:
 with the SQL layer at 'WARNING', and will log JSON formatted messages to a
 remote endpoint at 10.1.2.3:9999.</p>
 <h2 id="upgrading-from-legacy-structured-logging-configuration"><a class="header" href="#upgrading-from-legacy-structured-logging-configuration">Upgrading from legacy structured logging configuration</a></h2>
-<p>Versions of Synapse prior to v1.23.0 included a custom structured logging
-configuration which is deprecated. It used a <code>structured: true</code> flag and
-configured <code>drains</code> instead of <code>handlers</code> and <code>formatters</code>.</p>
-<p>Synapse currently automatically converts the old configuration to the new
-configuration, but this will be removed in a future version of Synapse. The
-following reference can be used to update your configuration. Based on the drain
-<code>type</code>, we can pick a new handler:</p>
+<p>Versions of Synapse prior to v1.54.0 automatically converted the legacy
+structured logging configuration, which was deprecated in v1.23.0, to the standard
+library logging configuration.</p>
+<p>The following reference can be used to update your configuration. Based on the
+drain <code>type</code>, we can pick a new handler:</p>
 <ol>
 <li>For a type of <code>console</code>, <code>console_json</code>, or <code>console_json_terse</code>: a handler
 with a class of <code>logging.StreamHandler</code> and a <code>stream</code> of <code>ext://sys.stdout</code>