Skip to content

Commit

Permalink
Change the only useful logging output statement to 'INFO', and drop t…
Browse files Browse the repository at this point in the history
…he log level from DEBUG to INFO.
  • Loading branch information
mwa-site committed May 15, 2020
1 parent 9e72efd commit 4cc1ff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mwa_pb/suppress.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# configure the logging
logging.basicConfig()
logger = logging.getLogger('pb.suppress')
logger.setLevel(logging.DEBUG)
logger.setLevel(logging.INFO)


def get_best_gridpoints(gps_start,
Expand Down Expand Up @@ -172,7 +172,7 @@ def get_best_gridpoints(gps_start,

if best_gridpoint is not None:
outstring = "Best gridpoint %d at (az,alt)=(%.4f,%.4f) [deg] at %s UTC to observe has ratio = %.2f = %.8f / %.8f\n"
logger.debug(outstring % (gp_numbers[best_gridpoint],
logger.info(outstring % (gp_numbers[best_gridpoint],
gp_azes[best_gridpoint],
gp_alts[best_gridpoint],
t.utc_iso(), r_max,
Expand Down

0 comments on commit 4cc1ff2

Please sign in to comment.