Added new file rfc5424logging_context.py and relative class LoggingContext to store structured logging context to enhance each log while keeping backward compatibility with other types of logs.
Added additional option --loglevel and refactored log level option handling into setup_logging class to support current log format an the new introduced rfc5424 log format.
After this PR is approved all log entries will be updated to add the new logging context.
ref 177487
rfc5424logging_context.py
and relative classLoggingContext
to store structured logging context to enhance each log while keeping backward compatibility with other types of logs.--loglevel
and refactored log level option handling intosetup_logging
class to support current log format an the new introduced rfc5424 log format.After this PR is approved all log entries will be updated to add the new logging context.