Tâche #9515
Distribution EOLE - Scénario #16962: Traitement express MEN (36-38)
Séparer les journaux des instances eoleflask
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Remaining (hours):
0.0
Description
Exigence¶
Le service doit être journalisé
Proposition¶
Je propose de déplacer l’initialisation du logger de eoleflask.loader
(source:eoleflask/loader.py@363a45c#L38) à eoleflask.application.run()
(source:eoleflask/application.py@363a45c#L25)
Il sera ainsi possible d’utilise le nom de la configuration passée en argument à eoleflask.application.run()
pour définir le nom du fichier de log.
Demande utilisateur initiale¶
Demandes liées:
- #8060
- #7855
Il existe 2 instances de eoleflask qui partagent le même fichier de log. Ce qui fait que la plupart des messages sont loggués en double. Il faudrait un fichier de log propre à chacune des instances : eoleflask.1.log / eoleflask.2.log
History
#1 Updated by Joël Cuissinat almost 9 years ago
- Parent task set to #8550
#2 Updated by Daniel Dehennin almost 8 years ago
- Tracker changed from Tâche to Proposition Scénario
- Subject changed from Les 2 instances partagent de même fichier de log to Séparer les journaux des instances eoleflask
- Description updated (diff)
- Parent task deleted (
#8550)
#3 Updated by Scrum Master almost 8 years ago
- Tracker changed from Proposition Scénario to Scénario
- Start date deleted (
11/06/2014) - Release set to EOLE 2.6.0
- Story points set to 2.0
#5 Updated by Daniel Dehennin about 7 years ago
- Assigned To set to Daniel Dehennin
- Remaining (hours) set to 0.0
Les journaux sont bien séparés en 2.6.0:
root@scribe:~# ls /var/log/eoleflask/ eoe.log eoleauth.log eoleflask.log eolegenconfig.log eop.log gunicorn-access.log gunicorn-eoleapps-access.log gunicorn-eoleapps-error.log gunicorn-error.log
#6 Updated by Daniel Dehennin about 7 years ago
- % Done changed from 0 to 100
#7 Updated by Scrum Master about 7 years ago
- Status changed from Nouveau to En cours
- Start date set to 09/06/2016
#8 Updated by Scrum Master about 7 years ago
- Status changed from En cours to Fermé