Project

General

Profile

Tâche #19791

Scénario #19740: La commande bareosconfig.py devrait définir un logger

Définir un logger dans bareosconfig.py

Added by Fabrice Barconnière over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Start date:
03/06/2017
Due date:
% Done:

100%

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

config.eol (264 Bytes) Fabrice Barconnière, 03/20/2017 02:17 PM

Associated revisions

Revision 65b4d3a6 (diff)
Added by Fabrice Barconnière over 6 years ago

En cas de configuration bareos incorrecte, le programme s'arrêtait sans log

ref #19791 @15m

History

#1 Updated by Fabrice Barconnière over 6 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Fabrice Barconnière over 6 years ago

  • File config.eol added
  • % Done changed from 0 to 100
Pour reproduire sur etb1 avec Amon + Scribe instance default :
  • Après MàJ, les erreurs s'affichent et sont logguées dans /var/log/rsyslog/local/creoled/creoled.info.log :
    root@scribe:~# bareosconfig.py -m --mail_err=''
    creole.loader1 - impossible de charger la variable schedule.schedule.monthday avec la valeur 2 : "2" est une valeur invalide pour l'option "Jour des tâches mensuelles la première semaine du mois (1 : lundi)" de type choix, doit être différent de la valeur de Jour des tâches hebdomadaires (1 : lundi)
    ...
    ...
    

#3 Updated by Fabrice Barconnière over 6 years ago

  • Status changed from En cours to Résolu
  • Remaining (hours) changed from 1.0 to 0.15

#4 Updated by Philippe Caseiro over 6 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.15 to 0.0

Also available in: Atom PDF