diff options
Diffstat (limited to 'astro/oskar')
-rwxr-xr-x | astro/oskar/taper_sky.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/astro/oskar/taper_sky.py b/astro/oskar/taper_sky.py index f70b47c..132919b 100755 --- a/astro/oskar/taper_sky.py +++ b/astro/oskar/taper_sky.py @@ -23,8 +23,9 @@ from scipy import interpolate import astropy.io.fits as fits -logging.basicConfig(level=logging.INFO) -logger = logging.getLogger(os.path.basename(sys.argv[0])) +logging.basicConfig(level=logging.INFO, + format="[%(levelname)s:%(lineno)d] %(message)s") +logger = logging.getLogger() def make2d(w1d, x=None): |