Same way you would write logs on your local environment. The thing that is different on colab is that you'd most likely want to mount your google drive to the google colab environment so that you can access your results after the instance has been terminated via limit use.
The output is placed in a file! I just created a different class to handle console output when needed. github.com/SpencerPao/Production_Pieces/blob/main/Logging/config/logging_config.yaml
WARNING: Do not use logging to replace common messages on your system! Use print instead. You will be flooded with unwanted messages from third-party packages! The use of logging in these cases is considered bad practice!
It’s exactly what I was looking for. Something that is made for production level not just a simple tutorial
I think its that not many people have production level experience haha
Your tutorial helped me a lot. I wasn't finding anything that is sophisticated enough for production level code. 🙏
Very nice way for logging.
Very informative video.. keep making these type of videos 🔥🔥🔥🔥🔥
Thanks man ; you helped me a lot!
Thanks for the video! How can I use logging with messages on my own package at Google Colab?
Same way you would write logs on your local environment.
The thing that is different on colab is that you'd most likely want to mount your google drive to the google colab environment so that you can access your results after the instance has been terminated via limit use.
Why was the output not put out on the console ? You did have an additional stream handler in the .yaml file as far as I can remember !
The output is placed in a file!
I just created a different class to handle console output when needed.
github.com/SpencerPao/Production_Pieces/blob/main/Logging/config/logging_config.yaml
WARNING: Do not use logging to replace common messages on your system! Use print instead. You will be flooded with unwanted messages from third-party packages! The use of logging in these cases is considered bad practice!