Diese Seite ist in Ihrer lokalen Sprache noch nicht verfügbar. Wir arbeiten daran, weitere Sprachversionen hinzuzufügen. Vielen Dank für Ihre Unterstützung.

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