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")
Parent topic: Migration from FunctionGraph V1 to V2
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot