changeset 8493:d0dfb4085e94

doc: update tracker_config.txt. add format logging option and update docs on convert_htmltotext
author John Rouillard <rouilj@ieee.org>
date Mon, 15 Dec 2025 00:10:24 -0500
parents 166cb2632315
children 2741b3de4432
files doc/tracker_config.txt
diffstat 1 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/tracker_config.txt	Mon Dec 15 00:04:16 2025 -0500
+++ b/doc/tracker_config.txt	Mon Dec 15 00:10:24 2025 -0500
@@ -867,6 +867,14 @@
   # Default: ERROR
   level = ERROR
 
+  # Format of the logging messages with all '%' signs
+  # doubled so they are not interpreted by the config file.
+  # Allowed value: Python LogRecord attribute named formats with % *sign doubled*.
+  # Also you can include the following attributes:
+  #   %%(trace_id)s %%(trace_reason)s and %%(pct_char)s
+  # Default: %%(asctime)s %%(trace_id)s %%(levelname)s %%(message)s
+  format = %%(asctime)s %%(trace_id)s %%(levelname)s %%(message)s
+
   # If set to yes, only the loggers configured in this section will
   # be used. Yes will disable gunicorn's --access-logfile.
   # 
@@ -1115,8 +1123,8 @@
   # justhtml, dehtml - (internal code), or none to disable
   # conversion. If 'none' is selected, email without a text/plain
   # part will be returned to the user with a message. If
-  # beautifulsoup is selected but not installed dehtml will
-  # be used instead.
+  # beautifulsoup or justhtml is selected but not installed
+  # dehtml will be used instead.
   # Allowed values: beautifulsoup, justhtml, dehtml, none
   # Default: none
   convert_htmltotext = none

Roundup Issue Tracker: http://roundup-tracker.org/