Project

General

Profile

Tâche #25105

Scénario #25008: Traitement express MEN (41-43)

Problème de "handler" pour les logs dans era.

Added by Benjamin Bohard almost 2 years ago. Updated almost 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/24/2018
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Remaining (hours):
0.0

Description

Observé lors du reconfigure sur un amon 2.7.0 alpha 8 :

run-parts: executing /usr/share/eole/posttemplate/00-eole-common reconfigure
Génération des règles de pare-feu (modèle "4zones")No handlers could be found for logger "creole.loader1" 

Associated revisions

Revision 87fc2013 (diff)
Added by Daniel Dehennin almost 2 years ago

Loading a library with logging could emit a warning

When a library use logging and not handler is defined the “No handlers
could be found for logger” message can be displayed.

To avoid this warning the library must use a default “NullHandler”

  • creole/loader1.py: add a “NullHandler” as default handler.

Ref: #25105

History

#1 Updated by Daniel Dehennin almost 2 years ago

  • Estimated time set to 1.00 h
  • Parent task set to #25008

#2 Updated by Daniel Dehennin almost 2 years ago

  • Assigned To set to Daniel Dehennin
  • Remaining (hours) set to 1.0

#3 Updated by Daniel Dehennin almost 2 years ago

  • Status changed from Nouveau to En cours

#4 Updated by Daniel Dehennin almost 2 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.0 to 0.25

#5 Updated by Scrum Master almost 2 years ago

  • Status changed from En cours to Résolu
  • Parent task changed from #25008 to #25339

#6 Updated by Scrum Master almost 2 years ago

  • Parent task changed from #25339 to #25008

#7 Updated by Gérald Schwartzmann almost 2 years ago

  • Remaining (hours) changed from 0.25 to 0.0

etb1.amon-2.7.0a9

root@amon:~# /usr/share/eole/posttemplate/00-eole-common reconfigure
Génération des règles de pare-feu (modèle "4zones")
Activation du mode forteresse sur ens4
Activation du mode forteresse sur ens5
Activation du mode forteresse sur ens6
Activation du mode forteresse sur ens7
Le serveur est protégé. Pour relancer le pare-feu, exécuter "CreoleService bastion restart" 
root@amon:~#

#8 Updated by Gérald Schwartzmann almost 2 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF