Skip to content

Commit 5d1e6ea

Browse files
author
Marc Stern
authored
Update ci.yml
1 parent 2bb57ce commit 5d1e6ea

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ jobs:
4646
sudo mkdir -p /var/cache/modsecurity
4747
sudo chown -R www-data:www-data /var/cache/modsecurity
4848
- name: start apache with module
49-
run: |
50-
sudo systemctl restart apache2.service
51-
sudo cat /var/log/apache2/error.log
49+
run: sudo systemctl restart apache2.service
50+
- name: Show httpd error log
51+
if: always()
52+
run: sudo cat /var/log/apache2/error.log
53+
- name: Show mod_security2 audit log
54+
if: always()
55+
run: sudo cat /var/log/apache2/modsec_audit.log
56+
# For non-regression tests: /home/runner/work/ModSecurity/ModSecurity/tests/regression/server_root/logs/audit/audit.log
57+

0 commit comments

Comments
 (0)