Skip to content

Commit

Permalink
fixes 23
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejka committed Oct 17, 2024
1 parent 230594d commit 9a54267
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/data/client2.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,12 @@ def main(start, blocks, step, mode, strategy):


if __name__ == "__main__":

console_handler = logging.StreamHandler()
console_handler.setLevel(logging.DEBUG)
console_format = logging.Formatter("%(asctime)s - %(levelname)s - %(message)s")
console_handler.setFormatter(console_format)
logging.getLogger().addHandler(console_handler)
console_handler.setFormatter(logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s"))
root_logger = logging.getLogger()
root_logger.addHandler(console_handler)
root_logger.setLevel(logging.DEBUG)

parser = argparse.ArgumentParser(description="Run client script")
parser.add_argument("--start", type=int, required=True, help="Start block height")
Expand Down

0 comments on commit 9a54267

Please sign in to comment.