Anomalie #1454
Configurer (ou hacker) twisted pour enlever les lignes de log inutiles
Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
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)"
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
Appliqué par commit 6fa3e3fb57c0752646c29aa86b95a5ef8202636b.
#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)