From a21fa84337356aeba294e00bbf63d19552d65553 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 4 Oct 2017 13:36:59 +0800 Subject: configs: Use lower case for logging levels --- bin/fg21sim | 4 ++-- bin/fg21sim-download-snr-data | 4 ++-- bin/healpix2hpx | 4 ++-- bin/hpx2healpix | 4 ++-- bin/zea2healpix | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'bin') diff --git a/bin/fg21sim b/bin/fg21sim index 7a20074..cce91dc 100755 --- a/bin/fg21sim +++ b/bin/fg21sim @@ -24,8 +24,8 @@ def main(): epilog="Set environment variable 'DEBUG_FG21SIM=1' to force debug!") parser.add_argument("config", help="user configuration file") parser.add_argument("-l", "--log", dest="loglevel", default=None, - choices=["DEBUG", "INFO", "WARNING", - "ERROR", "CRITICAL"], + choices=["debug", "info", "warning", + "error", "critical"], help="set the log level") parser.add_argument("-L", "--logfile", default=None, help="filename where to save the log messages") diff --git a/bin/fg21sim-download-snr-data b/bin/fg21sim-download-snr-data index bf2b33d..5ce2a7f 100755 --- a/bin/fg21sim-download-snr-data +++ b/bin/fg21sim-download-snr-data @@ -42,8 +42,8 @@ def main(): parser.add_argument("-C", "--clobber", action="store_true", help="overwrite the existing output file") parser.add_argument("-l", "--log", dest="loglevel", default=None, - choices=["DEBUG", "INFO", "WARNING", - "ERROR", "CRITICAL"], + choices=["debug", "info", "warning", + "error", "critical"], help="set the log level") parser.add_argument("-L", "--logfile", default=None, help="filename where to save the log messages") diff --git a/bin/healpix2hpx b/bin/healpix2hpx index 5f8e294..e34829c 100755 --- a/bin/healpix2hpx +++ b/bin/healpix2hpx @@ -27,8 +27,8 @@ def main(): parser.add_argument("-C", "--clobber", action="store_true", help="overwrite the existing output file") parser.add_argument("-l", "--log", dest="loglevel", default=None, - choices=["DEBUG", "INFO", "WARNING", - "ERROR", "CRITICAL"], + choices=["debug", "info", "warning", + "error", "critical"], help="set the log level") parser.add_argument("-L", "--logfile", default=None, help="filename where to save the log messages") diff --git a/bin/hpx2healpix b/bin/hpx2healpix index 8fc8777..17389f5 100755 --- a/bin/hpx2healpix +++ b/bin/hpx2healpix @@ -27,8 +27,8 @@ def main(): parser.add_argument("-C", "--clobber", action="store_true", help="overwrite the existing output file") parser.add_argument("-l", "--log", dest="loglevel", default=None, - choices=["DEBUG", "INFO", "WARNING", - "ERROR", "CRITICAL"], + choices=["debug", "info", "warning", + "error", "critical"], help="set the log level") parser.add_argument("-L", "--logfile", default=None, help="filename where to save the log messages") diff --git a/bin/zea2healpix b/bin/zea2healpix index 9f6f154..da6f488 100755 --- a/bin/zea2healpix +++ b/bin/zea2healpix @@ -43,8 +43,8 @@ def main(): parser.add_argument("-C", "--clobber", action="store_true", help="overwrite the existing output file") parser.add_argument("-l", "--log", dest="loglevel", default=None, - choices=["DEBUG", "INFO", "WARNING", - "ERROR", "CRITICAL"], + choices=["debug", "info", "warning", + "error", "critical"], help="set the log level") parser.add_argument("-L", "--logfile", default=None, help="filename where to save the log messages") -- cgit v1.2.2