Logging in Node

preview_player
Показать описание
In "Logging in Node" I share my thoughts on logging and how to do it in a good way.

Рекомендации по теме
Комментарии
Автор

Finally a real logging tutorial...If youtube doesnt pay off, Patreon is a real solution.You really deserve to get paid for such content.

alexandrupetru
Автор

Wow! Your explanation is too good to understand. Thanks, man.
_From Bangladesh_

md.shakilmahmudshahan
Автор

Wow you really talk about the current stuff. I am glad I found this channel. I wish you success with your youtube channel

MrRicharddaniel
Автор

I wish I could like this more than once

oghenerukevwekofi
Автор

Thank you for this helpful and excellent explained content.

albert
Автор

Seems like the log file will grow in size pretty fast. How do we handle that ?

AdityaFingerstyle
Автор

Why not send logs to stdout and stderr? For development, you'll have just the console to debug with. Then you can use a process manager to handle where logs should go in production. The production process manager can format logs into a file or database. Then, you can use a simple complimentary tool for checking logs (HTTP app tool, or even a CLI one). Any solutions like this?

Scripterrific
Автор

Do you require logger in all your modules so you can log from any module?

marccawood
Автор

Could you maybe provide a link to the corresponding github repo, for that we can get our hands on the code.

likeasir
Автор

This tutorial was a bit too basic for my taste. Also IMHO errors should be logged as error (or at least warning for bad requests) and not as info. Otherwise you won't find them in Production ENV, in which definetly your log level won't be info.

derSeega
Автор

I have no clue what you are talking about. Super confusing examples. At least for an idiot like me.

Human_Evolution-