1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
You need to set a handler or set basic config. If you direct the logs to stdout, they will appear in the component log.
logger.addHandler(logging.StreamHandler(sys.stdout))
# or
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
Or you could send them to a different file by using a FileHandler instead of a StreamHandler.
Contenuto pertinente
- AWS UFFICIALEAggiornata 10 mesi fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 2 anni fa