Stop logging DNS issues to the database

This commit is contained in:
Antoine Nguyen
2025-10-13 09:41:30 +02:00
parent c430de2ae0
commit b214d2c7db
3 changed files with 42 additions and 2 deletions
+30
View File
@@ -130,6 +130,36 @@ Rebuild Virtual Environment
Specific instructions
*********************
Version 2.6.1
=============
Required changes to :file:`settings.py`
---------------------------------------
- Add the following lines to ``LOGGING`` variable:
.. sourcecode:: python
'handlers': {
...
'syslog': {
'class': 'logging.handlers.SysLogHandler',
'facility': SysLogHandler.LOG_SYSLOG,
'formatter': 'syslog'
},
...
},
'loggers': {
...
'modoboa.dns': {
'handlers': ['syslog'],
'level': 'INFO',
'propagate': False
},
...
}
Version 2.6.0
=============