Logging in Express and NodeJs - Winston library introduction

Поділитися
Вставка
  • Опубліковано 9 січ 2025

КОМЕНТАРІ • 17

  • @retardoquasti7925
    @retardoquasti7925 2 роки тому +17

    00:00 - 2:25: Why to use Winston
    2:25 - 7:30: Setup Winston
    7:30 - 9:40: Format Outputs
    9:40 - 13:30: Warning and Error Logging, Logging to File
    13:30 - 18:00: Logging to MongoDB
    18:00 - 22:50: Logging internal Application Errors
    22:50 - 25:35: Custom format Outputs
    25:35 - 30:36: Custom Log-Messages for different Levels
    30:36 - 31:42: End
    Very good work :) Thanks

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

      Thanks!

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

      @@tomekintech5748 how do i export to a file w/o using express? i'm trying to implement winston on a discord bot but i can't get it to work

  • @richhaskell150
    @richhaskell150 Місяць тому

    Thanks, this was very useful and applicable to my current task. I also learned something about Vs Code and how to use the Rest Client.

  • @kataii
    @kataii Рік тому +2

    Quite useful, straightforward forward and very practical video for logging, Thanks

  • @skyzane2735
    @skyzane2735 10 місяців тому +1

    is that rest extension secure and safe? I’m afraid that they might read the date we’ve been sending, or is it only used for testing?

  • @feugos
    @feugos 8 місяців тому +1

    Hi! Is it possible concatenate some custom log messages in the end of main log for each route?

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

    It was very useful for me. Thanks for your job.

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

    Thanks buddy for such nice explanation ❤

  • @VanshShah-g5r
    @VanshShah-g5r 9 місяців тому

    Useful

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

    I'll stick with the good old "console.log" function. Interesting, but just too much crap to log.

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

      these are necessary for when the application is deployed

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

      @@clementadjei4396 True, but for smaller projects, its not needed. Now you need another system to manage the log files. It's not even human readable without the ability to parse these log files.

    • @michaelcaxias
      @michaelcaxias 7 місяців тому

      @@ahndeux Yeah, of course, this is more useful when using Kibana or other logging UI

  • @edvzig
    @edvzig 9 місяців тому

    You say "basically" too much. Love