VROOM-Project / vroom-express

Out of the box Node-express server to use VROOM as a web API.
BSD 2-Clause "Simplified" License
70 stars 60 forks source link

Rotate access logs #59

Closed jcoupey closed 3 years ago

jcoupey commented 4 years ago

It would be nice to have an out-of-the box setup for rotating the access.log file generated using morgan.

Looks like this is really easy: http://expressjs.com/en/resources/middleware/morgan.html#log-file-rotation ; maybe we should provide a configuration variable in config.yml on top of a default value.