Skip to content

The Logger for Express in production. It builds on the built-in Express logger. It will automatically rotate your logs and archive the old logs daily.

License

Notifications You must be signed in to change notification settings

codewithreelofficial/express-logger-prod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-logger-prod

The Logger for Express in production. It builds on the built-in Express logger. It will automatically rotate your logs and archive the old logs daily.

version downloads license.

Installation

npm install express-logger-prod --save

or

npm i express-logger-prod --save

Usage

var loggerProd = require('express-logger-prod');

app.use(loggerProd());

Log Structure

express-app
├── ...
├── logs
│   └── erros
│       └── error-2018-08-27.log
│       └── error-2018-08-28.log
├── ...

About

The Logger for Express in production. It builds on the built-in Express logger. It will automatically rotate your logs and archive the old logs daily.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published