diff options
author | Aaron LI <aly@aaronly.me> | 2017-11-22 09:43:53 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-11-22 09:48:43 +0800 |
commit | b371bff663a4e29fe673774fccf9bcc2ddba341c (patch) | |
tree | 1fe95cc1efe0a07674a3c9cb23bddf0986dce8e5 /astro/oskar/fits2skymodel.py | |
parent | 0b8214ceef56f23154e131d30afea593dad64a4a (diff) | |
download | atoolbox-b371bff663a4e29fe673774fccf9bcc2ddba341c.tar.bz2 |
Improve logging format
Diffstat (limited to 'astro/oskar/fits2skymodel.py')
-rwxr-xr-x | astro/oskar/fits2skymodel.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/astro/oskar/fits2skymodel.py b/astro/oskar/fits2skymodel.py index 324ee2a..7d0295a 100755 --- a/astro/oskar/fits2skymodel.py +++ b/astro/oskar/fits2skymodel.py @@ -37,8 +37,7 @@ from astropy.wcs import WCS logging.basicConfig(level=logging.INFO, - format="%(asctime)s [%(levelname)s] %(message)s", - datefmt="%H:%M:%S") + format="[%(levelname)s:%(lineno)d] %(message)s") logger = logging.getLogger(os.path.basename(sys.argv[0])) |