Logging in Python Crash Course - Security Levels, Log Files, Formatting

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • Today we learn how to professionally work with logging in Python.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine...
    💻 The Algorithm Bible Book: www.neuralnine...
    👕 Programming Merch: www.neuralnine...
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine...
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/Neu...
    🎙 Discord: / discord
    🎵 Outro Music From: www.bensound.com/

КОМЕНТАРІ • 26

  • @crazyminecrafter14
    @crazyminecrafter14 3 роки тому +5

    Your timing is perfect! Just started looking into this topic, and your tutorials are so well structured.

  • @eclipsehunter22
    @eclipsehunter22 3 роки тому +2

    Keep up the good work man, I love your videos.
    They are helping me a lot!
    Thanks!

  • @linuks87
    @linuks87 26 днів тому +1

    Thank you so much. It helps so much.

  • @KeyserTheRedBeard
    @KeyserTheRedBeard 2 роки тому +1

    extremely good upload NeuralNine. I smashed the thumbs up on your video. Continue to keep up the first-rate work.

  • @emperorj4783
    @emperorj4783 3 роки тому +2

    Last time it was the JSON tutorial, now its this one... great tutorial as usual!

  • @mikolajkaraczyn6382
    @mikolajkaraczyn6382 10 місяців тому

    Great stuff (as always!). Personally, I prefer loguru library for logging (a lot easier and friendly).

  • @martdayniel5674
    @martdayniel5674 3 роки тому +3

    Hello. Thanks for this tutorial, as always, very interesting. Can I ask where I should put this "logging settings" within the project? For example, I have a project with main.py and helper_functions.py files. Both of these .py files make use of the logger but I am not sure where to put it.

  • @khalidhassani6173
    @khalidhassani6173 2 роки тому

    That into is stunning 😍

  • @NishithSavla
    @NishithSavla 3 роки тому +2

    There is also logging.exception to also get stack trace in log file

  • @ali-om4uv
    @ali-om4uv 3 роки тому

    Nice video some real world example of messages in a larger project would be nice! Could you also make a video on basic ci/cd and tools like Jenkins?

  • @harsharya828
    @harsharya828 3 роки тому +1

    Amazing Video Bro.

  • @leex7776
    @leex7776 3 роки тому

    Thanks. Nice tutorial. Just one thing missing for me -> outsource the loggin configuration in a extra file (like log4j.properties in JAVA), cause in a real application I dont want to change the code to change loglevel etc...

  • @ShukyPersky
    @ShukyPersky 10 місяців тому

    thank for your effort & contribution!

  • @ashutoshpattnaik5446
    @ashutoshpattnaik5446 3 роки тому +2

    I think it will make my life a bit easier...

  • @nocopyrightgameplaystockvi231
    @nocopyrightgameplaystockvi231 3 роки тому +1

    Those biceps and hackers are like, yeah, I am gonna stay away from this guy!

  • @ilanbar1970
    @ilanbar1970 Рік тому

    Thanks!

  • @deeperblue77
    @deeperblue77 3 роки тому

    Really helpful!

  • @pestkaproductions
    @pestkaproductions 2 роки тому

    Thank you a lot. Left sub.

  • @mohsenhaddadi1117
    @mohsenhaddadi1117 3 роки тому

    Will OOP fade out over decades or it will get stronger?
    I mean learning every aspect of OOP take lots of Energy. does it worth it?

    • @alessandrocinque4542
      @alessandrocinque4542 2 роки тому

      Unless you want to print Hello World for the rest of your life: yes.

  • @benjaminzijerveld
    @benjaminzijerveld 2 роки тому

    nice tutorial, but when i try it the file is created but nothing is logged in it
    so it stays empty no matter which logging level :(

  • @saivivek5563
    @saivivek5563 3 роки тому

    Hy bro i hope you are well,
    Plz can you do NLP to sql querys

  • @IzUrBoiKK
    @IzUrBoiKK 3 роки тому +2

    First! Bro u can be more active on discord!

  • @LuisHernandez-zm5lg
    @LuisHernandez-zm5lg 2 роки тому

    good video bro

  • @oguzhantopaloglu9442
    @oguzhantopaloglu9442 3 роки тому +1

    imagine using MM/DD/YYYY