Projet

Général

Profil

Anomalie #1454

Configurer (ou hacker) twisted pour enlever les lignes de log inutiles

Ajouté par Joël Cuissinat il y a environ 13 ans. Mis à jour il y a environ 13 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Début:
25/02/2011
Echéance:
% réalisé:

100%

Temps passé:
Distribution:

Description

Les logs de nos principaux outils (EAD, Zéphir, ...) sont remplis par des lignes indiquant les appels xml-rpc.
Ces lignes sont peu utiles et masquent les vrais logs !

2011/02/24 16:59:52 CET [HTTPChannel,29,127.0.0.1] 127.0.0.1 - - [24/Feb/2011:15:59:51 +0000] "POST /RPC2 HTTP/1.0" 200 750 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" 
2011/02/24 16:59:52 CET [HTTPChannel,30,127.0.0.1] 127.0.0.1 - - [24/Feb/2011:15:59:51 +0000] "POST /RPC2 HTTP/1.0" 200 13314 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" 
2011/02/24 16:59:53 CET [HTTPChannel,31,127.0.0.1] 127.0.0.1 - - [24/Feb/2011:15:59:52 +0000] "POST /RPC2 HTTP/1.0" 200 1629 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" 
2011/02/24 16:59:53 CET [HTTPChannel,32,127.0.0.1] 127.0.0.1 - - [24/Feb/2011:15:59:53 +0000] "POST /RPC2 HTTP/1.0" 200 2245 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" 

Révisions associées

Révision 6fa3e3fb (diff)
Ajouté par Joël Cuissinat il y a environ 13 ans

adieu les logs twisted (fixes #1454)

Révision 1cec4bc1 (diff)
Ajouté par Joël Cuissinat il y a environ 6 ans

Remove deprecated twisted log hack

Ref: #23123
Ref: #1454

Historique

#1 Mis à jour par Joël Cuissinat il y a environ 13 ans

  • Assigné à mis à Bruno Boiget
  • Version cible changé de EOLE 2.3 RC4 à EOLE 2.3 Stable

#2 Mis à jour par Joël Cuissinat il y a environ 13 ans

possibilité de supprimer la dernière ligne du fichier : /usr/share/pyshared/twisted/web/http.py

self.logFile.write(line)

c'est plié avec un petit :

sed -i '/self.logFile.write(line)/d' /usr/share/pyshared/twisted/web/http.py

dans /usr/share/eole/posttemplate/00-eole-common par exemple ;)

#3 Mis à jour par Joël Cuissinat il y a environ 13 ans

  • Projet changé de Distribution EOLE à eole-common

#4 Mis à jour par Joël Cuissinat il y a environ 13 ans

  • Statut changé de Nouveau à Résolu
  • % réalisé changé de 0 à 100

#5 Mis à jour par Joël Cuissinat il y a environ 13 ans

  • Statut changé de Résolu à Fermé

OK en candidate : eole-common (2.3-eole132~2)

Formats disponibles : Atom PDF