mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
[PR #284] [MERGED] feat: Modified logger to log to file that supports fail2ban #974
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plankanban/planka/pull/284
Author: @StevenJCorreia
Created: 8/21/2022
Status: ✅ Merged
Merged: 8/23/2022
Merged by: @meltyshev
Base:
master← Head:master📝 Commits (2)
425b437feat: Modified logger to log to file that supports fail2ban3b4b84aMerge branch 'plankanban:master' into master📊 Changes
12 files changed (+425 additions, -7842 deletions)
View changed files
📝
.gitignore(+2 -0)📝
README.md(+73 -0)📝
docker-start.sh(+6 -1)📝
server/api/controllers/access-tokens/create.js(+8 -0)📝
server/config/env/production.js(+1 -3)📝
server/config/env/test.js(+1 -3)📝
server/config/log.js(+18 -1)📝
server/package-lock.json(+166 -7832)📝
server/package.json(+3 -2)➕
server/test/utils/remoteAddress.test.js(+78 -0)➕
server/utils/logger.js(+42 -0)➕
server/utils/remoteAddress.js(+27 -0)📄 Description
This PR aims to add the ability to expose Planka's logs to a logfile that can later be watched by fail2ban.
The logfile will mirror the console logs that already via
sails.jswith two additions:🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.