Skip to content

Commit

Permalink
Use logger instead of logging
Browse files Browse the repository at this point in the history
  • Loading branch information
SaiedKazemi committed Sep 16, 2024
1 parent 75932f9 commit a020745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diamond_miner/generators/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def probe_generator_from_database(
global max_probes
if max_probes == 0:
max_probes = 4095 # XXX make this a parameter
logging.info("capping the number of probes to send at %d", max_probes)
logger.info("capping the number of probes to send at %d", max_probes)

rows = GetProbesDiff(
round_eq=round_, probe_ttl_geq=probe_ttl_geq, probe_ttl_leq=probe_ttl_leq
Expand Down

0 comments on commit a020745

Please sign in to comment.