Project

General

Profile

Anomalie #1454

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

Added by Joël Cuissinat about 10 years ago. Updated almost 10 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
02/25/2011
Due date:
% Done:

100%

Spent time:
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)" 

Associated revisions

Revision 6fa3e3fb (diff)
Added by Joël Cuissinat almost 10 years ago

adieu les logs twisted (fixes #1454)

Revision 1cec4bc1 (diff)
Added by Joël Cuissinat about 3 years ago

Remove deprecated twisted log hack

Ref: #23123
Ref: #1454

History

#1 Updated by Joël Cuissinat about 10 years ago

  • Assigned To set to Bruno Boiget
  • Target version changed from EOLE 2.3 RC4 to EOLE 2.3 Stable

#2 Updated by Joël Cuissinat about 10 years ago

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 Updated by Joël Cuissinat almost 10 years ago

  • Project changed from Distribution EOLE to eole-common

#4 Updated by Joël Cuissinat almost 10 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#5 Updated by Joël Cuissinat almost 10 years ago

  • Status changed from Résolu to Fermé

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

Also available in: Atom PDF