Development #20
Gives control on logging from API and Python binding
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
Historique
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.
Mis à jour par Benjamin Dauvergne il y a presque 14 ans
Jérôme suggests using trigger_error in PHP.
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
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.
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').
Mis à jour par Benjamin Dauvergne il y a presque 14 ans
- Statut changé de Résolu (à déployer) à Fermé
Binding python: add GLog handler to redirect logs to Python logger named "lasso"