Project

General

Profile

Scénario #33146

Vérifier la rotation du fichier /var/log/lsc/lsc.log

Added by Joël Cuissinat 3 months ago. Updated 10 days ago.

Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
Category:
-
Start date:
09/14/2021
Due date:
11/12/2021
% Done:

100%

Story points:
1.0
Remaining (hours):
0.00 hour
Velocity based estimate:
0 days
Release:
Release relationship:
Auto

Description

Problème constaté lors d'une intervention sur un serveur en production.
Le fichier fait plus de 250Mo avec des logs qui datent de la mise en place du serveur environ six mois avant...

Vérifier au passage si ce qui est indiqué au sujet des journaux en bas de http://eole.ac-dijon.fr/documentations/2.8/completes/HTML/ModuleScribe/co/trucsEtAstuces.html est bien exact.


Subtasks

Tâche #33378: EtudeFerméEmmanuel GARETTE

Tâche #33379: Paramétrer les logs pour utiliser journaldFerméEmmanuel GARETTE


Related issues

Related to Distribution EOLE - Tâche #33359: Valider le scénario Vérifier la rotation du fichier /var/log/lsc/lsc.log Fermé 10/28/2021

History

#1 Updated by Joël Cuissinat about 2 months ago

  • Tracker changed from Demande to Scénario
  • Due date set to 11/05/2021
  • Target version set to Prestation Cadoles MEN 2021 42-45
  • Release set to EOLE 2.7.1.1
  • Story points set to 1.0

#2 Updated by Joël Cuissinat about 2 months ago

  • Description updated (diff)

#3 Updated by Emmanuel GARETTE about 1 month ago

  • Assigned To set to Ludwig Seys

#4 Updated by Emmanuel GARETTE 24 days ago

  • Status changed from Nouveau to Résolu
  • Assigned To changed from Ludwig Seys to Emmanuel GARETTE

#5 Updated by Joël Cuissinat 11 days ago

  • Related to Tâche #33359: Valider le scénario Vérifier la rotation du fichier /var/log/lsc/lsc.log added

#6 Updated by Joël Cuissinat 10 days ago

Logs au démarrage du service eole-lsc :

==> /var/log/rsyslog/local/lsc/lsc.info.log <==
2021-11-25T09:14:22.258288+01:00 scribe.domscribe.ac-test.fr lsc[148174]: nov. 25 09:14:22 - INFO  - Logging configuration successfully loaded from /etc/lsc/logback.xml
2021-11-25T09:14:22.259311+01:00 scribe.domscribe.ac-test.fr lsc[148174]: nov. 25 09:14:22 - INFO  - LSC configuration successfully loaded from /etc/lsc/
2021-11-25T09:14:22.259617+01:00 scribe.domscribe.ac-test.fr lsc[148174]: nov. 25 09:14:22 - INFO  - Configuration and environment successfully checked !

==> /var/log/lsc/lsc.log <==
2021/11/25 09:14:22 [lsc] Starting LSC
2021/11/25 09:14:22 [lsc] Using JMX port 1099

==> /var/log/rsyslog/local/lsc/lsc.info.log <==
2021-11-25T09:14:23.151844+01:00 scribe.domscribe.ac-test.fr lsc[148203]: nov. 25 09:14:23 - INFO  - Logging configuration successfully loaded from /etc/lsc/logback.xml
2021-11-25T09:14:23.152075+01:00 scribe.domscribe.ac-test.fr lsc[148203]: nov. 25 09:14:23 - INFO  - LSC configuration successfully loaded from /etc/lsc/
2021-11-25T09:14:23.173422+01:00 scribe.domscribe.ac-test.fr lsc[148203]: nov. 25 09:14:23 - INFO  - Connecting to LDAP server ldaps://addc.domscribe.ac-test.fr:636/DC=domscribe,DC=ac-test,DC=fr as CN=Administrator,CN=Users,DC=domscribe,DC=ac-test,DC=fr
2021-11-25T09:14:23.596060+01:00 scribe.domscribe.ac-test.fr lsc[148203]: nov. 25 09:14:23 - INFO  - Connecting to LDAP server ldap://localhost:389/o=gouv,c=fr as cn=admin,o=gouv,c=fr
2021-11-25T09:14:23.737787+01:00 scribe.domscribe.ac-test.fr lsc[148203]: nov. 25 09:14:23 - INFO  - Starting async for t1users-create
2021-11-25T09:14:23.739010+01:00 scribe.domscribe.ac-test.fr lsc[148203]: nov. 25 09:14:23 - INFO  - Starting async for t2users-update
2021-11-25T09:14:23.739389+01:00 scribe.domscribe.ac-test.fr lsc[148203]: nov. 25 09:14:23 - INFO  - Starting async for t3-groups
2021-11-25T09:14:23.740693+01:00 scribe.domscribe.ac-test.fr lsc[148203]: nov. 25 09:14:23 - INFO  - Starting async for t4-groups-delete

#7 Updated by Joël Cuissinat 10 days ago

Plus de log pour une exécution "manuelle" :

==> /var/log/lsc/lsc.log <==
2021/11/25 09:17:42 [lsc] Starting LSC
2021/11/25 09:17:48 [lsc] LSC finished running

#8 Updated by Joël Cuissinat 10 days ago

root@scribe:~# ll /var/log/samba-ad-dc 
lrwxrwxrwx 1 root root 38 nov.  23 21:24 /var/log/samba-ad-dc -> /var/lib/lxc/addc/rootfs/var/log/samba/

#9 Updated by Joël Cuissinat 10 days ago

  • Status changed from Résolu to Terminé (Sprint)

Also available in: Atom PDF