Project

General

Profile

Revision 739ec58d

ID739ec58d4f187140fc3e81382e97b405d375acda
Parent 6eaeb5a7
Child 5fc27666

Added by Francois POIROTTE over 13 years ago

L'authentification ne doit pas envoyer ses messages sur la sortie standard par défaut.
Cela enregistre des "erreurs" dans les logs d'Apache sinon (ticket client 37972).
Ici, on inhibe complètement les messages de repoze.who.

git-svn-id: https://vigilo-dev.si.c-s.fr/svn@4352 b22e2e97-25c9-44ff-b637-2e5ceca36478

View differences:

vigiboard/config/app_cfg.py
15 15
"""
16 16

  
17 17
from vigilo.turbogears import VigiloAppConfig
18
from pylons.i18n import lazy_ugettext as l_
19 18

  
20 19
import vigiboard
21 20
from vigiboard.lib import app_globals, helpers
vigiboard/config/middleware.py
53 53
    app = make_who_with_config(
54 54
        app, global_conf,
55 55
        app_conf.get('auth.config', 'who.ini'),
56
        app_conf.get('auth.log_file', 'stdout'),
56
        app_conf.get('auth.log_file', None),
57 57
        app_conf.get('auth.log_level', 'debug'),
58 58
        app_conf.get('skip_authentication')
59 59
    )

Also available in: Unified diff