From: Scott Gasch Date: Wed, 23 Feb 2022 04:02:24 +0000 (-0800) Subject: Log the original commandline at DEBUG level. X-Git-Url: https://wannabe.guru.org/gitweb/?a=commitdiff_plain;h=d1f18fdf430eee4292938dd18b922d6d6e05e18c;p=python_utils.git Log the original commandline at DEBUG level. --- diff --git a/config.py b/config.py index 46caad1..57593c3 100644 --- a/config.py +++ b/config.py @@ -329,5 +329,6 @@ def dump_config(): def late_logging(): """Log messages saved earlier now that logging has been initialized.""" logger = logging.getLogger(__name__) + logger.debug('Original commandline was: %s', ORIG_ARGV) for _ in SAVED_MESSAGES: logger.debug(_)