crowdsecurity / cs-openresty-bouncer

CrowdSec bouncer for OpenResty
MIT License
11 stars 5 forks source link

Custom logging option? #17

Closed baudneo closed 2 years ago

baudneo commented 2 years ago

Is there a way to have the bouncer output it's logs to its own file instead of openresty defualt access/error logs?

I have integrated the bouncer into Nginx Proxy Manager but monitoring the openresty logs for crowdsec info is not the best.

That or certain messages logged to its own log file? Like when it takes action and info on when it pulls decisions? At the moment it's mixed in with all sorts of other information.

Thanks.

he2ss commented 2 years ago

Hi @baudneo,

We decide to use ngx.log because of performances issues (see https://github.com/cloudflare/lua-resty-logger-socket/issues/33).