mirror of https://github.com/MISP/MISP
chg: [CI] Split logs in CI
parent
2b38de942b
commit
e2b5e6edc3
|
@ -269,13 +269,16 @@ jobs:
|
||||||
- name: Check requirements.txt
|
- name: Check requirements.txt
|
||||||
run: python tests/check_requirements.py
|
run: python tests/check_requirements.py
|
||||||
|
|
||||||
- name: Logs
|
- name: System logs
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
# update logs_test.sh when adding more logsources here
|
# update logs_test.sh when adding more logsources here
|
||||||
run: |
|
run: |
|
||||||
tail -n +1 `pwd`/app/tmp/logs/*
|
tail -n +1 `pwd`/app/tmp/logs/*
|
||||||
tail -n +1 /var/log/apache2/*.log
|
tail -n +1 /var/log/apache2/*.log
|
||||||
|
|
||||||
|
- name: Application logs
|
||||||
|
if: ${{ always() }}
|
||||||
|
run: |
|
||||||
app/Console/cake Log export /tmp/logs.json.gz --without-changes
|
app/Console/cake Log export /tmp/logs.json.gz --without-changes
|
||||||
zcat /tmp/logs.json.gz
|
zcat /tmp/logs.json.gz
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue