Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable logging blacklisted IPs does not work on docker #85

Open
Joohansson opened this issue Mar 28, 2021 · 1 comment · Fixed by #86
Open

Disable logging blacklisted IPs does not work on docker #85

Joohansson opened this issue Mar 28, 2021 · 1 comment · Fixed by #86

Comments

@Joohansson
Copy link
Owner

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

@aspic
Copy link
Collaborator

aspic commented Mar 28, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants