Joohansson / NanoRPCProxy

A relay, limiter, token and protection system for Nano node RPC & websocket interface

Home Page:https://api.nanos.cc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable logging blacklisted IPs does not work on docker

Joohansson opened this issue · comments

So we have this log set to false to disable logging blocked IPs when they attempt to connect. That works fine normally but not with docker for some reason! I have no idea.

https://github.com/Joohansson/NanoRPCProxy/blob/master/src/proxy.ts#L204

Not sure why this is not working in docker compared to running manually. Perhaps it has something to do with system configured logging? 🤔 I asked the maintainers to release a new version on the ipfilter-package which has a configurable logger (jetersen/express-ipfilter#72) – with this we could supply our own logger into the library.