Project

General

Profile

Tâche #13974

Scénario #13972: les erreurs n'apparaissent pas dans les logs du schedule . on ne log que les succès

Logger la date de fin d'exécution du schedule

Added by Emmanuel GARETTE over 5 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
11/09/2015
Due date:
% Done:

100%

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

Description

Lorsque le schedule est lancer, on a des informations du type :

09/11/15 02:40 start pre schedule daily
09/11/15 02:40 start post schedule daily

Mais on n'a pas d'information sur l'heure de fin.

Il devrait y avoir des lignes du type :

xxxxxxxxxx stop pre schedule daily.

Associated revisions

Revision 7fb0e5e0 (diff)
Added by Benjamin Bohard over 5 years ago

Journaliser l'événement de fin de schedule.

Ref #13974

History

#1 Updated by Emmanuel GARETTE over 5 years ago

  • Estimated time set to 1.00 h
  • Remaining (hours) set to 1.0

#2 Updated by Scrum Master over 5 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Scrum Master over 5 years ago

  • Assigned To set to Benjamin Bohard

#4 Updated by Benjamin Bohard over 5 years ago

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

#5 Updated by Scrum Master over 5 years ago

  • Status changed from En cours to Résolu

#6 Updated by Benjamin Bohard over 5 years ago

  • Remaining (hours) changed from 0.0 to 0.25

#7 Updated by Lionel Morin over 5 years ago

Test effectué :
  • Lancement de la commande /usr/share/eole/schedule/schedule cron
  • Log générés dans /var/log/rsyslog/local/eole-schedule/eole-schedule.info.log :
    2015-12-03T15:55:33.760519+01:00 scribe.ac-test.lan eole-schedule: Démarrage de pre schedule daily
    2015-12-03T15:55:38.445411+01:00 scribe.ac-test.lan eole-schedule: run-parts: executing /usr/share/eole/schedule/daily/pre/annuaire daily
    2015-12-03T15:55:38.445759+01:00 scribe.ac-test.lan eole-schedule: Stop System V service slapd                                             [  OK  ]
    2015-12-03T15:55:38.446011+01:00 scribe.ac-test.lan eole-schedule: Start System V service slapd                                            [  OK  ]
    2015-12-03T15:55:38.446318+01:00 scribe.ac-test.lan eole-schedule: run-parts: executing /usr/share/eole/schedule/daily/pre/fichier daily
    2015-12-03T15:55:38.446574+01:00 scribe.ac-test.lan eole-schedule: run-parts: executing /usr/share/eole/schedule/daily/pre/mysql daily
    2015-12-03T15:55:38.446928+01:00 scribe.ac-test.lan eole-schedule: pre schedule daily accompli
    2015-12-03T15:55:38.447291+01:00 scribe.ac-test.lan eole-schedule: Démarrage de post schedule daily
    2015-12-03T15:55:38.740675+01:00 scribe.ac-test.lan eole-schedule: run-parts: executing /usr/share/eole/schedule/daily/post/tdbbackup daily
    2015-12-03T15:55:38.741089+01:00 scribe.ac-test.lan eole-schedule: post schedule daily accompli
    2015-12-03T15:55:38.750564+01:00 scribe.ac-test.lan eole-schedule: Démarrage de pre schedule once
    2015-12-03T15:55:38.754906+01:00 scribe.ac-test.lan eole-schedule: pre schedule once accompli
    2015-12-03T15:55:38.755257+01:00 scribe.ac-test.lan eole-schedule: Démarrage de post schedule once
    2015-12-03T15:55:38.758639+01:00 scribe.ac-test.lan eole-schedule: post schedule once accompli
    

=> OK

#8 Updated by Lionel Morin over 5 years ago

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

Also available in: Atom PDF