Help Center/ FunctionGraph/ FAQs/ Migration from FunctionGraph V1 to V2/ Why Can't I Print Logs of a Python 2.7 Function After the Execution of reload(sys)?
Updated on 2023-06-20 GMT+08:00

Why Can't I Print Logs of a Python 2.7 Function After the Execution of reload(sys)?

Try printing logs with context.getLogger().

log = context.getLogger()
log.info("test")