mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-02 12:13:54 +01:00
Stop logging DNS issues to the database
This commit is contained in:
@@ -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
|
||||
=============
|
||||
|
||||
|
||||
Reference in New Issue
Block a user