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
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Remaining (hours):
0.0
Related issues
Associated revisions
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 over 4 years ago
- Status changed from Nouveau to En cours
#2 Updated by Fabrice Barconnière over 4 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 over 4 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 over 4 years ago
- Status changed from Résolu to Fermé
#5 Updated by Benjamin Bohard 3 months ago
- Related to Tâche #35453: Étude added