How can we send the logger messages from jupyter lab to kubernets pods stdout

I have couple of the custom conda package, and it was installed in custom jupyter lab, and whenever if I run custom condo package function in jupyter lab, it is not sending any log level messages like exception, error and info logs to kubernets pods, but when ever if there is any error or exception it is showing in jupyter lab output cell, instead of sending to kubernets pods stdout.

I was very new to jupyter, it will be nice what could be reason to happen, and steps I need considered to show log level messages to kubernets pods stdout.