10343: Improve log message.
authorTom Clegg <tom@curoverse.com>
Fri, 28 Oct 2016 18:06:34 +0000 (14:06 -0400)
committerTom Clegg <tom@curoverse.com>
Fri, 28 Oct 2016 18:06:34 +0000 (14:06 -0400)
services/dockercleaner/arvados_docker/cleaner.py

index 9c03c9197122f7d4c02606fc6efc28a1ac09e743..b03b9e50ffaa47921341305673975ea24b1bcac0 100755 (executable)
@@ -266,8 +266,9 @@ def load_config(arguments):
     except (FileNotFoundError, IOError, ValueError) as error:
         if (isinstance(error, FileNotFoundError) and
             args.config == DEFAULT_CONFIG_FILE):
-            logger.warning("DEPRECATED: default config file not found; "
-                           "relying on command line configuration")
+            logger.warning("DEPRECATED: default config file %s not found; "
+                           "relying on command line configuration",
+                           repr(DEFAULT_CONFIG_FILE))
         else:
             sys.exit('error reading config file {}: {}'.format(
                 args.config, error))