project8 / dripline

Slow controls for medium scale physics experiments based on AMQP centralized messaging
http://www.project8.org/dripline
1 stars 0 forks source link

Unified argparse and logger config #46

Closed laroque closed 9 years ago

laroque commented 9 years ago

The utility scripts all use argparse for command line arguments and the logging module. It would be nice to have a standard ArgumentParser that does things like start a stream_handler with formatter, and support arguments that are common: -v for verbose, repeating making more verbose; -l to specify a log file at info level (configure this somehow?) Maybe even options for some of the standard arguments: -amqp broker network path -config file path

It would then be further customizable by the particular application.

laroque commented 9 years ago

located in the arg_parser module under core. open_spimescape_portal is a functional example.