Hi, when creating a class in a separate library. What is best practice so that the prefect logger picks up the log lines? Currently I'm on this path but I'm struggling to see them in the gui.
Copy code
from logging import getLogger
logger = getLogger(__name__)
Class MyClass:
def __init__(self):
pass
def my_method(self):
<http://logger.info|logger.info>(‘hi’)
Does that make sense?
k
Kevin Kho
05/19/2022, 2:17 PM
Yeah that does. You need to specify extra loggers. Did you do that?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.