Skip to content

Commit 6c75252

Browse files
authored
Lower logging and ssh verbosity (#132)
1 parent 8db7636 commit 6c75252

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

printer/server.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
datefmt="%Y-%m-%dT%H:%M:%S",
3232
level=logging.INFO,
3333
)
34+
logging.getLogger("uvicorn.access").setLevel(logging.WARNING)
35+
logging.getLogger("uvicorn.error").setLevel(logging.WARNING)
3436

3537

3638
def get_args() -> argparse.Namespace:

printer/what.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ open_ssh_tunnel () {
4141
# Quasar:QUASAR_PORT
4242
# Lastly, CORE_V4_HOST is given to signify the user and ip of Core-v4.
4343

44-
ssh -v \
44+
ssh \
4545
-o UserKnownHostsFile=${DOCKER_CONTAINER_KNOWN_HOSTS} \
4646
-o StrictHostKeyChecking=no \
4747
-i ${DOCKER_CONTAINER_SSH_KEYS} \

0 commit comments

Comments
 (0)