-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
type/enhancementAn improvement of existing functionalityAn improvement of existing functionalitytype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
- On Gitea version: 1.4.0+rc3
- Database: MySQL
Description
Currently failed authentication attempts are logged as info into gitea.log.
All executed SQL queries are also logged as info into xorm.log which means increases file size and disk writes.
In order to avoid the size and write problem I have increased log level to warn, but that leaves my fail2ban without the required log lines.
Alternatively add an option to disable the xorm log, or log executed SQL queries as debug, which should be better for production servers with several active users.
As an aside it would be nice to have a log of failed password reset requests .
Metadata
Metadata
Assignees
Labels
type/enhancementAn improvement of existing functionalityAn improvement of existing functionalitytype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.