From bb57e753b02cdd115aa9a440aed4597bc2ab20de Mon Sep 17 00:00:00 2001 From: gholt Date: Thu, 10 Feb 2011 00:01:07 -0800 Subject: [PATCH] Fix drive-audit's default log_name --- bin/swift-drive-audit | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/swift-drive-audit b/bin/swift-drive-audit index 5203f54b6b..77912e720e 100755 --- a/bin/swift-drive-audit +++ b/bin/swift-drive-audit @@ -99,6 +99,7 @@ if __name__ == '__main__': device_dir = conf.get('device_dir', '/srv/node') minutes = int(conf.get('minutes', 60)) error_limit = int(conf.get('error_limit', 1)) + conf['log_name'] = conf.get('log_name', 'drive-audit') logger = get_logger(conf, log_route='drive-audit') devices = get_devices(device_dir, logger) logger.debug("Devices found: %s" % str(devices))