Skip to content

Commit

Permalink
add stdout_handler to output logging to Tower console
Browse files Browse the repository at this point in the history
  • Loading branch information
danlu1 committed Dec 3, 2024
1 parent ced5dcc commit a74ca79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions genie/consortium_to_public.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import logging
import os
import sys

import pandas as pd
import synapseutils
Expand All @@ -14,6 +15,9 @@
)

logger = logging.getLogger(__name__)
stdout_handler = logging.StreamHandler(stream=sys.stdout)
stdout_handler.setLevel(logging.INFO)
logger.addHandler(stdout_handler)


# TODO: Add to transform.py
Expand Down

0 comments on commit a74ca79

Please sign in to comment.