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-19 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") Parent topic: Migration from FunctionGraph V1 to V2
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.