Projet

Général

Profil

Development #20

Gives control on logging from API and Python binding

Ajouté par Benjamin Dauvergne il y a presque 14 ans. Mis à jour il y a presque 14 ans.

Statut:
Fermé
Priorité:
Haut
Assigné à:
Catégorie:
-
Version cible:
Début:
12 juin 2010
Echéance:
% réalisé:

100%

Temps estimé:
3:00 h
Patch proposed:
Planning:

Description

Actually logging from Lasso or dependencies (libxml2,libmlsec) is not consolidated, so you cannot hook into logging using a function written in the binding language (Python, PHP, Java or PERL) or you cannot just shut up the logging with a simple call like lasso_log_output(FALSE).

Révisions associées

Révision 05b53787 (diff)
Ajouté par Benjamin Dauvergne il y a presque 14 ans

Binding python: add GLog handler to redirect logs to Python logger named "lasso"

Historique

#1

Mis à jour par Benjamin Dauvergne il y a presque 14 ans

The current scenario to fix this bug for Python is to route logging event through the native logging library of python.

#2

Mis à jour par Benjamin Dauvergne il y a presque 14 ans

Jérôme suggests using trigger_error in PHP.

#3

Mis à jour par Benjamin Dauvergne il y a presque 14 ans

  • Priorité changé de Normal à Haut
#4

Mis à jour par Benjamin Dauvergne il y a presque 14 ans

  • Version cible mis à 2.3.0
#5

Mis à jour par Benjamin Dauvergne il y a presque 14 ans

  • Temps estimé mis à 5:00 h
#6

Mis à jour par Benjamin Dauvergne il y a presque 14 ans

  • Sujet changé de Gives control on logging from API and bindings à Gives control on logging from API and Python binding
#7

Mis à jour par Benjamin Dauvergne il y a presque 14 ans

  • Statut changé de Nouveau à Résolu (à déployer)
  • % réalisé changé de 0 à 100
  • Temps estimé changé de 5:00 h à 3:00 h

Fixed by revision r4863 and r4861.

#8

Mis à jour par Benjamin Dauvergne il y a presque 14 ans

completed with a way do direct message to another logger than loggin.getLogger('lasso').

#9

Mis à jour par Benjamin Dauvergne il y a presque 14 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF