diff --git a/doc/upgrade.rst b/doc/upgrade.rst index 6433b3b80..4762e58fe 100644 --- a/doc/upgrade.rst +++ b/doc/upgrade.rst @@ -94,6 +94,8 @@ Specific instructions 2.0.4 ===== +The following modifications must be applied to the :file:`settings.py` file: + * Add ``'modoboa.core.context_processors.new_admin_url',`` at the end of `context_processors` list: .. sourcecode:: python @@ -121,9 +123,27 @@ Specific instructions }, ] +* Add the following variable:: -* You now have the possibility to customize the url of the new-admin interface. -To do so please head up to :ref:`the custom configuration chapter ` (advanced user). +.. sourcecode:: python + + PID_FILE_STORAGE_PATH = '/var/run' + +* Update ``LOGGING`` variable to define an address for ``syslog-auth`` handler:: + +.. sourcecode:: python + + 'syslog-auth': { + 'class': 'logging.handlers.SysLogHandler', + 'facility': SysLogHandler.LOG_AUTH, + 'formatter': 'syslog', + 'address': '/dev/log' + }, + + +You now have the possibility to customize the url of the new-admin +interface. To do so please head up to :ref:`the custom configuration +chapter ` (advanced user). 2.0.3 diff --git a/modoboa/core/commands/templates/settings.py.tpl b/modoboa/core/commands/templates/settings.py.tpl index d9455bcbf..23ec4f89b 100644 --- a/modoboa/core/commands/templates/settings.py.tpl +++ b/modoboa/core/commands/templates/settings.py.tpl @@ -320,7 +320,8 @@ LOGGING = { 'syslog-auth': { 'class': 'logging.handlers.SysLogHandler', 'facility': SysLogHandler.LOG_AUTH, - 'formatter': 'syslog' + 'formatter': 'syslog', + 'address': '/dev/log' }, 'syslog-mail': { 'class': 'logging.handlers.SysLogHandler',