Projet

Général

Profil

Development #31108

Simplifier la logique dans hobo.logger.RequestContextFilter

Ajouté par Benjamin Dauvergne il y a environ 5 ans. Mis à jour il y a environ 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
05 mars 2019
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

C'est vraiment mal écrit, méchant Benjamin.


Fichiers

Révisions associées

Révision 118ee9b6 (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

logger: add copyright notice (#31108)

Révision 1c398945 (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

logger: PEP8ness (#31108)

Révision 16f9122b (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

logger: improve logic in RequestContextFilter (#31108)

Previous logic forbid passing explicit user and request in the log call
like that :

logger.info('message', extra={'request': request, 'user': user})

Historique

#2

Mis à jour par Christophe Siraut il y a environ 5 ans

  • Statut changé de Solution proposée à Solution validée

(Le copyright indique 2015)

#3

Mis à jour par Benjamin Dauvergne il y a environ 5 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 16f9122b7b58b074658e456fb7963f980272e8ec
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Tue Mar 5 17:27:59 2019 +0100

    logger: improve logic in RequestContextFilter (#31108)

    Previous logic forbid  passing explicit user and request in the log call
    like that :

       logger.info('message', extra={'request': request, 'user': user})

commit 1c3989452799a55484dd6ec1265279a1f4adb4d7
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Tue Mar 5 17:15:49 2019 +0100

    logger: PEP8ness (#31108)

commit 118ee9b613bcbe16c56f587baf71750c2f78ef7f
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Tue Mar 5 17:15:13 2019 +0100

    logger: add copyright notice (#31108)
#4

Mis à jour par Frédéric Péters il y a environ 5 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF