Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Change the Logging from Console #5

Open
Tinitto opened this issue Mar 29, 2021 · 0 comments
Open

Change the Logging from Console #5

Tinitto opened this issue Mar 29, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Tinitto
Copy link
Contributor

Tinitto commented Mar 29, 2021

Problem Statement

Currently we are logging status and error messages to the Standard input/output. This would not cater for a message queue hosted on a server that is not under 24/7 human supervision.

Justification

simplemq is meant to be run on servers. This entails that logs of errors, warnings and the like are saved on files. Such files can be checked later in case an error occurs.

Notes

Winston seems to be a very popular option. One needs to look into how to structure it to log to stdin during development and to logfiles mostly when in production.

@Tinitto Tinitto added the enhancement New feature or request label Mar 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant