NestJs Logging Tutorial 2021

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

КОМЕНТАРІ • 23

  • @CodeWithVlad
    @CodeWithVlad  3 роки тому +4

    I hope you loved this video! 🙂
    📮Consider subscribing to my newsletter: codewithvlad.substack.com
    🔥 And follow me on Twitter: twitter.com/vladimir_agaev

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

    This is the best video I found on UA-cam for a NestJS custom logger.

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

    Dear Vlad - you are the master of NestJS here on UA-cam - please, keep up your great work! Thank you!

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

    High quality content for NestJS. I got started with NestJS through your videos. Keep up the great work mate!

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

    Would you consider doing a video on how to extend the default logger to include file logging as well?

  • @ashishkumari-yg4gn
    @ashishkumari-yg4gn Рік тому

    Thanks. Easy to understand.

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

    Nice one, simple explanation !!!

  • @saybers-4516
    @saybers-4516 Рік тому

    I really hope you get the subs and views you deserve

  • @johnnyferreira6121
    @johnnyferreira6121 4 місяці тому

    Very good tutorial!

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

    Helps me a lot, expecially the `response.on("finish" , () => {})` part, which solve the problem that confuses me for a long time when my response status-codes always start with 2.

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

    What logger do you use for production? with log rotation. Pino, winston?

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

    Good job! Any ideas about how to achieve log rotation with built-in nestjs logger ? Thanks in advance. Take care.

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

      The built-in nestjs logger is mainly used for development. For production, I suggest using external logging tools where you can send your logs by api.

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

    what settings did you apply for the terminal ?, apple icon , branch name and etc.

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

      I usually use material theme and material icons :)

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

    Works with graphql?

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

      I haven't tried with graphql. I will give it a go.

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

      я только об это подумал и тут комментарий)

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

    And how to log it into file?

  • @박정무-g6p
    @박정무-g6p 2 роки тому

    thank you

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

    Thanks

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

    Hey thanks for the tutorials bro, your videos are very good. I'm migrating a project from express to nest but it is very hard nothing works the same xd. Tried to make the functional logger work with winston and morgan but winston gives problems... This will do for now :).
    Nvm I could do it my errors were because I was importing like this: import winston from "winston" and had to be: import * as winston from "winston".