---
title: "Discussion on \"Log your Node Js error in a log file like a PRO!\" | Hashnode"
description: "Discussion on \"Log your Node Js error in a log file like a PRO!\". We all have used console.log() at some point in time but these are just for debugging purpose only. It's not recommended in a production-level app.\nIf you'll use them in your production level app, this may not help you in finding the exact error and ..."
url: "https://hashnode.com/posts/log-your-node-js-error-in-a-log-file/60637d6d669be10bf6054e1a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Log your Node Js error in a log file like a PRO!](https://blog.pratik.dev/log-your-node-js-error-in-a-log-file?utm_source=hashnode&utm_medium=feed)

We all have used console.log() at some point in time but these are just for debugging purpose only. It's not recommended in a production-level app. If you'll use them in your production level app, this may not help you in finding the exact error and ...

Mar 30, 2021 · 3 min read · blog.pratik.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#express](https://hashnode.com/tag/express)

## Written by

[Pratik Sah](https://hashnode.com/@ThePratikSah)

@ThePratikSah · Banglore, IN

  
[View profile](https://hashnode.com/@ThePratikSah)

DOMinating with React!

Works on NodeJS, React, React Native and many more day in and out. Skilled in back-end development, REST API, NodeJS, MongoDB, MySQL, React &amp; React Native. Connect to learn from my experience. I keep sharing them. Mostly about tech here on my LinkedIn https://www.linkedin.com/in/pratiksah/

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
