Project

General

Profile

Tâche #14239

Distribution EOLE - Scénario #14084: Assistance aux utilisateurs (49-51)

Rotation du fichier /var/log/creoled.log

Added by Damien THOMAS over 5 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
12/10/2015
Due date:
% Done:

100%

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

Description

Bonjour,

/var/log/creoled.log n'est pas compressé comme les autres logs

est ce qu'il pourrait être compressé ?

Merci


Related issues

Related to Distribution EOLE - Tâche #14240: Traitement de demandes entrantes Fermé 11/02/2015
Copied to Distribution EOLE - Scénario #14409: Gérer les logs des services systemd au travers de rsyslog Terminé (Sprint) 01/26/2016 07/08/2016

Associated revisions

Revision 01fe15cb (diff)
Added by Joël Cuissinat over 5 years ago

Mise à niveau de la conf logrotate des fichiers générés par creole

  • réutilisation du fichier /etc/logrotate.d/reconfigure renommé en /etc/logrotate.d/creole
  • modification des options de rotation (4 semaines suffisent largement)

Ref: #14239 @1h

Revision 04043ce7 (diff)
Added by Joël Cuissinat over 5 years ago

Suppression de l'ancien logrotate "reconfigure"

  • debian/creole.postinst : suppression de "/etc/logrotate.d/reconfigure"

Ref: #14239
Ref: #14374 @30m

History

#1 Updated by Joël Cuissinat over 5 years ago

  • Project changed from Amon to creole

#2 Updated by Joël Cuissinat over 5 years ago

  • Assigned To set to Joël Cuissinat

#3 Updated by Joël Cuissinat over 5 years ago

  • Tracker changed from Demande to Tâche
  • Status changed from Nouveau to En cours
  • Estimated time set to 1.50 h
  • Parent task set to #14084
  • Remaining (hours) set to 1.5

#4 Updated by Joël Cuissinat over 5 years ago

  • Subject changed from fichier /var/log/creoled.log to Rotation du fichier /var/log/creoled.log

#5 Updated by Joël Cuissinat over 5 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.5 to 0.5

#6 Updated by Scrum Master over 5 years ago

  • Status changed from En cours to Résolu

#7 Updated by Fabrice Barconnière over 5 years ago

root@horus:~# ll /var/log/creole*
-rw-r--r-- 1 root root 630881 déc.  18 09:55 /var/log/creoled.log
root@horus:~# logrotate -f /etc/logrotate.conf 
root@horus:~# ls -rtl /var/log/creole*
-rw-r--r-- 1 root root 1753 déc.  18 10:05 /var/log/creoled.log-20151218
-rw-r--r-- 1 root root    0 déc.  18 10:06 /var/log/creoled.log
root@horus:~# service creoled restart
 * Restarting Creole daemon creoled                                                                                                                 [ OK ] 
root@horus:~# logrotate -f /etc/logrotate.conf 
root@horus:~# ls -rtl /var/log/creole*
-rw-r--r-- 1 root root  634 déc.  18 10:06 /var/log/creoled.log-20151218.gz
-rw-r--r-- 1 root root 1045 déc.  18 10:06 /var/log/creoled.log

#8 Updated by Fabrice Barconnière over 5 years ago

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

Also available in: Atom PDF