mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
add5d998c0
This patch should reduce the logging noise a lot, by removing the `/status` route from logging unless hedgedoc is running in debug mode or the route throws an error code. This is achieved by providing a "skip"-function to the morgan logging provider. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> |
||
---|---|---|
.. | ||
auth | ||
imageRouter | ||
middleware | ||
note | ||
baseRouter.js | ||
historyRouter.js | ||
statusRouter.js | ||
userRouter.js | ||
utils.js |