Closed theAlevan closed 1 year ago
Hi @theAlevan
That's the settings output when the plugin gets started. Currently, it's not possible to suppress it. I look into it. It is possible to add an option to completely disable the output.****
I added the MR #44, which allows disabling the start-up logs.
In my traefik deployment, despite setting log level to warn in traefik, and disabling log messages in geoblock, I still get these log messages, every ~30 seconds, making the log file harder to read:
My geoblock settings:
http:
middlewares:
geoblock:
plugin:
geoblock:
allowLocalRequests: true
**logLocalRequests: false
logAllowedRequests: false
logApiRequests: false**
allowUnknownCountries: false
forceMonthlyUpdate: "true"
unknownCountryApiResponse: nil
api: https://get.geojs.io/v1/ip/country/{ip}
apiTimeoutMs: 150
cacheSize: 15
countries:
....
Relevant Traefik settings:
- --experimental.plugins.geoblock.modulename=github.com/PascalMinder/geoblock
- --experimental.plugins.geoblock.version=v0.2.6
- --log.level=warn
Is there a setting I did not turn off in geoblock?