Project

General

Profile

Tâche #26412

Scénario #26382: Modifier la configuration Salt-Master/EAD3 pour créer une instance dédiée

Logger salt pour EAD3 via rsyslog

Added by Fabrice Barconnière about 2 years ago. Updated about 2 years ago.

Status:
Fermé
Priority:
Normal
Start date:
01/07/2019
Due date:
% Done:

100%

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

Associated revisions

Revision df5101d4 (diff)
Added by Fabrice Barconnière about 2 years ago

Log salt services for EAD3 to rsyslog

ref #26412

  • init/* : set syslog identifier for each service
  • tmpl/master and tmpl/minion : prefix format log with service name

History

#1 Updated by Fabrice Barconnière about 2 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Fabrice Barconnière about 2 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 6.0 to 0.0

#3 Updated by Gérald Schwartzmann about 2 years ago

root@eolebase:~# tail -f /var/log/rsyslog/local/salt-api-ead3/* /var/log/rsyslog/local/salt-master-ead3/* /var/log/rsyslog/local/salt-minion-ead3/*
==> /var/log/rsyslog/local/salt-master-ead3/salt-master-ead3.crit.log <==
2019-01-14T10:27:35.767223+01:00 eolebase.ac-test.fr salt-master-ead3[root             ][CRITICAL] init a listener

==> /var/log/rsyslog/local/salt-api-ead3/salt-api-ead3.info.log <==
2019-01-14T10:27:35.765750+01:00 eolebase.ac-test.fr salt-api-ead3[683]: [CRITICAL] init a listener
2019-01-14T10:28:07.253939+01:00 eolebase.ac-test.fr salt-api-ead3[683]: [WARNING ] 404 GET /all_events/null (127.0.0.1) 7.93ms

==> /var/log/rsyslog/local/salt-master-ead3/salt-master-ead3.warning.log <==
2019-01-14T10:28:07.255688+01:00 eolebase.ac-test.fr salt-master-ead3[tornado.access   ][WARNING ] 404 GET /all_events/null (127.0.0.1) 7.93ms

==> /var/log/rsyslog/local/salt-api-ead3/salt-api-ead3.info.log <==
2019-01-14T10:28:07.282202+01:00 eolebase.ac-test.fr salt-api-ead3[683]: [ERROR   ] Unexpected exception while handling request:
2019-01-14T10:28:07.282393+01:00 eolebase.ac-test.fr salt-api-ead3[683]: Traceback (most recent call last):
2019-01-14T10:28:07.282514+01:00 eolebase.ac-test.fr salt-api-ead3[683]:   File "/usr/lib/python3/dist-packages/salt/netapi/rest_eole/saltnado.py", line 949, in disbatch

#4 Updated by Gérald Schwartzmann about 2 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF