HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

Python Tutorial: Logging Basics - Logging to Files, Setting Levels, and Formatting

573,760 views October 25, 2017 14:25

Watch on YouTube
ChannelCorey Schafer

Description from the creator

In this Python Tutorial, we will be going over the basics of logging. We will learn how to switch out our print statements for logs, change the logging level, add logs to files, and also how to change the format of those logs. Let's get started.

Advanced Logging Video - youtu.be/jxmzY9soFXg
Log Record Attribute Docs: docs.python.org/3/library/logging.html#logrecor…

The code from this video can be found at:
github.com/CoreyMSchafer/code_snippets/tree/mas…


✅ Support My Channel Through Patreon:
patreon.com/coreyms

✅ Become a Channel Member:
youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/jo…

✅ One-Time Contribution Through PayPal:
goo.gl/649HFY

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist
a.co/inIyro1

✅ Equipment I Use and Books I Recommend:
amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website - coreyms.com/
My Second Channel - youtube.com/c/coreymschafer
Facebook - facebook.com/CoreyMSchafer
Twitter - twitter.com/CoreyMSchafer
Instagram - instagram.com/coreymschafer/

#Python

About this tutorial

Corey Schafer published this 14:25 video tutorial on October 25, 2017. It has been watched 573,760 times on YouTube.

Category
Education
Duration
14:25
Published
October 25, 2017
Views
573,760
Likes
14,023

Tags

Share

Further reading

This tutorial in other languages