Displaying python Logging messages into Dash

Hi,
So I’m trying to make my Dash app display the logs that my backend displays into console while running into a Dah page. Does anyone know how I could do this? I’m a a bit out of my depth here…

I’m not sure what type of Loggin handler I’m supposed to use… is it a SocketHandler?

Hi @cristina! I’m trying to do the same thing… did you manage to figure something out? Could you please share

Thanks!

There’s a logger on the dash instance, you can do app.logger.info('message')

3 Likes

How logging is supposed to work from other modules, ones that main app is importing?

hi, I tried this way but it prints in my python console, also can you tell me where do I need to place this line of code.