From c82024727eafdc8567e3862b627934ad5a0169d8 Mon Sep 17 00:00:00 2001 From: Lukas Zapletal Date: Tue, 20 Mar 2018 14:58:11 +0100 Subject: [PATCH] Refs #22493 - documented logging macros [skip ci] --- config/logging.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/config/logging.yaml b/config/logging.yaml index fb699c71c39..a1ebc9ea7ef 100644 --- a/config/logging.yaml +++ b/config/logging.yaml @@ -56,10 +56,16 @@ # [%L] line number where the logging request was issued # [%M] method name where the logging request was issued # [%X{request}] request-ID set in HTTP headers, or random UUID -# [%X{session}] random ID assigned per session, not available early on during -# request logging, but prevents disclosure of the session ID -# [%X{string}] variable set via MDC (::Logging.mdc['string']) -# [%x{string}] variable set via NDC (::Logging.ndc['string']) +# [%X{session}] random ID assigned per session +# [%X{user_login}] currently logged user if present +# [%X{org_id}] current organization id if available +# [%X{loc_id}] current location id if available +# [%X{remote_ip}] remote IP +# [%x{exception_class}] exception info (only for exception entries) +# [%x{exception_message}] exception info (only for exception entries) +# [%x{exception_backtrace}] exception info (only for exception entries) +# [%X{string}] generic field set via MDC (::Logging.mdc['string']) +# [%x{string}] generic field set via NDC (::Logging.ndc['string']) # # :sys_pattern: # Logger line pattern for system log/journal. See :pattern for more info.