---
title: "Discussion on \"Getting started with Winston Logger; A beginner's guide\" | Hashnode"
description: "Discussion on \"Getting started with Winston Logger; A beginner's guide\". Logging Definition\n\nLogging is the process of recording application actions, activities and state to a secondary interface.\n\nLogging is the process of recording application activities into log files. Data saved in a log file are called logs and are u..."
url: "https://hashnode.com/posts/getting-started-with-winston-logger-a-beginners-guide/60ca8ea602579c1f34779e56"
---

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

Discussion

# [Getting started with Winston Logger; A beginner's guide](https://jobizil.hashnode.dev/getting-started-with-winston-logger-a-beginners-guide?utm_source=hashnode&utm_medium=feed)

Logging Definition Logging is the process of recording application actions, activities and state to a secondary interface. Logging is the process of recording application activities into log files. Data saved in a log file are called logs and are u...

Jun 16, 2021 · 6 min read · jobizil.hashnode.dev  
Updated Jul 15, 2021  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#logging](https://hashnode.com/tag/logging)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Job Ugbem](https://hashnode.com/@Jobizil)

@Jobizil · Lagos,Nigeria

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

Software Engineer | PenTest Enthusiast | Technical Writer

I am software developer and technologist who is passionate about products that are helpful to mankind, with a keen spirit of being an enthusiastic team player and eager to learn something new and apply it to the daily development routine.

## Responses 1

Markdown supported · ⌘↵ to post

[Deepak Rawat](https://hashnode.com/@abcdeepakr)

[Nov 24, 2021](https://hashnode.com/posts/getting-started-with-winston-logger-a-beginners-guide/60ca8ea602579c1f34779e56/comment/619e6e3e11146d7e145e9cd3)

i have this question, please forgive if it's something silly, i tried winston, and it logs data to an error.log file when i try to run it on localhost.

I don't know how to implement the same when the application is in production, where can i find that error.log file. is it necessary to write the log file data into the database, what if i just want to download the file and read the logs. is that possible? I know a few complex workaround, but can i get the localhost experience on the production level

[Job Ugbem](https://hashnode.com/@Jobizil)

[Jan 30, 2023](https://hashnode.com/posts/getting-started-with-winston-logger-a-beginners-guide/60ca8ea602579c1f34779e56/comment/619e6e3e11146d7e145e9cd3#reply-63d8188eaa966f48b293743d)

Oh my days, how did I miss this comment.

This might not be of use but for someone else.

So depending on the size of the application, you can have a different database where you can log your errors and also you can try some premium sources like BugSnag and the likes.

I'm currently writing an article on how to use BugSnag to report your errors and how to get them resolved.
