Skip to content

Commit a74ca79

Browse files
committed
add stdout_handler to output logging to Tower console
1 parent ced5dcc commit a74ca79

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

genie/consortium_to_public.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import logging
44
import os
5+
import sys
56

67
import pandas as pd
78
import synapseutils
@@ -14,6 +15,9 @@
1415
)
1516

1617
logger = logging.getLogger(__name__)
18+
stdout_handler = logging.StreamHandler(stream=sys.stdout)
19+
stdout_handler.setLevel(logging.INFO)
20+
logger.addHandler(stdout_handler)
1721

1822

1923
# TODO: Add to transform.py

0 commit comments

Comments
 (0)