Hello community, small problem here: logging I tr...
# ask-community
v
Hello community, small problem here: logging I try to configure the Prefect logger to capture the basic python
logging
module output and show it in the Prefect UI (they appear in the console). I have the flow defined like this:
Copy code
from src import run_training

@prefect.flow(log_prints=True)
def model_training_flow(model_id: str, experiment: str):
    run_training(model_id=model_id, experiment=experiment)
In the
run_training
function I log using
<http://logging.info|logging.info>("This is an info")
(not using
<http://logger.info|logger.info>("...")
), is this an issue? Ideally I want to achieve this without any changes to the rest of my code. Thank you in advance for any help.