~vishvananda/nova/lp720393

« back to all changes in this revision

Viewing changes to nova/flags.py

  • Committer: Tarmac
  • Author(s): Soren Hansen
  • Date: 2011-02-16 09:54:54 UTC
  • mfrom: (670.2.4 logdir)
  • Revision ID: tarmac-20110216095454-rtw8qb7n9txolmur
Add back --logdir=DIR option. If set, a logfile named after the binary (e.g. nova-api.log) will be kept in DIR.

Show diffs side-by-side

added added

removed removed

Lines of Context:
282
282
 
283
283
DEFINE_string('state_path', os.path.join(os.path.dirname(__file__), '../'),
284
284
              "Top-level directory for maintaining nova's state")
 
285
DEFINE_string('logdir', None, 'output to a per-service log file in named '
 
286
                              'directory')
285
287
 
286
288
DEFINE_string('sql_connection',
287
289
              'sqlite:///$state_path/nova.sqlite',