Open davidegraff opened 1 year ago
Describe the problem TDC currently prints a bunch of status messages to standard out. This presents a few problems for the client:
Describe the solution you'd like Move most logging statements from print_sys calls to logger.* calls
print_sys
logger.*
I.e., at the top of most modules:
import logging logger = logging.getLogger(__name__) # print_sys(mesg) logger.*(mesg)
where * is the appropriate method depending on the severity of the message (debug, info, warn, error, critical)
*
debug
info
warn
error
critical
Additional context this page contains some good resources for addressing this
Thank you for the great suggestion, David! We will work on it!
Describe the problem TDC currently prints a bunch of status messages to standard out. This presents a few problems for the client:
Describe the solution you'd like Move most logging statements from
print_sys
calls tologger.*
callsI.e., at the top of most modules:
where
*
is the appropriate method depending on the severity of the message (debug
,info
,warn
,error
,critical
)Additional context this page contains some good resources for addressing this