Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
set logging level of tornado to ERROR, small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Samartsev committed Jan 24, 2024
1 parent 1d7bdb6 commit d0f8268
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pymepix/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ def make_app():
def start_api(args):
global timepix_obj

logging.getLogger("tornado").setLevel(logging.ERROR)

timepix_obj = PymepixConnection(spidr_address=(args.ip, args.port),\
camera_generation=args.cam_gen,
pipeline_class=CentroidPipeline)
Expand Down Expand Up @@ -413,8 +415,9 @@ def main():
help="TCP port to use for the connection",
)


parser_api_service.add_argument(
"-api_p",
"-api_port",
"--api_port",
dest="api_port",
type=int,
Expand Down

0 comments on commit d0f8268

Please sign in to comment.