Author: tmckay
Date: 2011-02-22 19:11:15 +0000 (Tue, 22 Feb 2011)
New Revision: 4551
Modified:
trunk/cumin/bin/cumin-admin
Log:
Add logging for cumin-admin back in, but log to admin.log
Modified: trunk/cumin/bin/cumin-admin
===================================================================
--- trunk/cumin/bin/cumin-admin 2011-02-22 17:55:24 UTC (rev 4550)
+++ trunk/cumin/bin/cumin-admin 2011-02-22 19:11:15 UTC (rev 4551)
@@ -31,6 +31,11 @@
parser.set_usage(generate_usage())
config, values, opts, args = get_configuration(parser, CuminDataConfig)
+ # Override the log_file value so that cumin-admin does not log
+ # to the same place as cumin-data
+ opts.log_file = os.path.join(config.get_home(), "log",
"admin.log")
+ setup_operational_logging(opts)
+
try:
name = args[0]
except IndexError:
Show replies by date