Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

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)?

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

Try printing logs with context.getLogger().

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

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback