diff --git a/nicobot/askbot.py b/nicobot/askbot.py index ea9a30d..ccce637 100755 --- a/nicobot/askbot.py +++ b/nicobot/askbot.py @@ -167,6 +167,8 @@ def run( args=sys.argv[1:] ): # (because required arguments may have been set from the config file and not on the command line) # + log.debug( "Final configuration : %s", repr(obfuscate(vars(config))) ) + # Creates the chat engine depending on the 'backend' parameter chatter = BotArgsHelper.chatter(config) diff --git a/nicobot/helpers.py b/nicobot/helpers.py index 851c201..909e230 100644 --- a/nicobot/helpers.py +++ b/nicobot/helpers.py @@ -148,6 +148,6 @@ def parse_args_2pass( parser, args, config ): config = parser.parse_args(args=args,namespace=config) # From the bootstrap parameters, only logging level may need to be read again configure_logging(config.verbosity,debug=config.debug) - log.debug( "Final configuration : %s", repr(obfuscate(vars(config))) ) + log.debug( "Configuration after 2nd pass : %s", repr(obfuscate(vars(config))) ) return config diff --git a/nicobot/transbot.py b/nicobot/transbot.py index 5314928..b9f1d8d 100755 --- a/nicobot/transbot.py +++ b/nicobot/transbot.py @@ -696,6 +696,8 @@ def run( args=sys.argv[1:] ): should_exist=True, fallback_to=1 )[0] + log.debug( "Final configuration : %s", repr(obfuscate(vars(config))) ) + # Creates the chat engine depending on the 'backend' parameter chatter = BotArgsHelper.chatter(config)