Skip to content

How to log coraza errors/warnings with caddy ? #511

Answered by Barnoux
Barnoux asked this question in Q&A
Discussion options

You must be logged in to vote

I just realized that I was not precise enough on the discussion. sorry

Today Corazza is running with caddy in a docker image. I noticed that today the only logs you can write to the filesystem are the access and error logs from caddy (not from the coraza WAF). Indeed, all error logs and warnings related to WAF Coraza detections or preventions cannot be found in this file that I mentioned. Today, I have access to the error and warning logs of coraza thanks to the docker compose log feature "nameofthedockercomposeservice".

Tomorrow I would like to have the warnings and errors logs of CORAZA in a single file.

Because I would like to use the crowdsec solution with cozaza events. I would like …

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@jptosso
Comment options

@jptosso
Comment options

@jcchavezs
Comment options

@Barnoux
Comment options

@Barnoux
Comment options

Answer selected by Barnoux
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants