~ken-pepple/nova/lp718360

« back to all changes in this revision

Viewing changes to nova/utils.py

  • Committer: Ken Pepple
  • Date: 2011-02-16 05:16:29 UTC
  • Revision ID: ken.pepple@gmail.com-20110216051629-t03t0pkn6cag600l
initialized FLAGS with sys.argv for LOG.debug to work

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
from eventlet.green import subprocess
39
39
 
40
40
from nova import exception
 
41
from nova import flags
41
42
from nova.exception import ProcessExecutionError
42
43
from nova import log as logging
43
44
 
44
 
logging.basicConfig()
 
45
FLAGS = flags.FLAGS
 
46
FLAGS(sys.argv)
45
47
LOG = logging.getLogger("nova.utils")
46
48
TIME_FORMAT = "%Y-%m-%dT%H:%M:%SZ"
47
49