Skip to content

Fixed plugin logging

Compare
Choose a tag to compare
@PascalMinder PascalMinder released this 19 Jul 19:23
· 16 commits to main since this release

Creates logs like:

INFO: GeoBlock: 2022/07/19 15:13:59 allow local IPs: true
INFO: GeoBlock: 2022/07/19 15:13:59 log local requests: false
INFO: GeoBlock: 2022/07/19 15:13:59 log allowed requests: true
INFO: GeoBlock: 2022/07/19 15:13:59 log api requests: false
INFO: GeoBlock: 2022/07/19 15:13:59 API uri: https://get.geojs.io/v1/ip/country/{ip}
INFO: GeoBlock: 2022/07/19 15:13:59 API timeout: 750
INFO: GeoBlock: 2022/07/19 15:13:59 cache size: 15
INFO: GeoBlock: 2022/07/19 15:13:59 force monthly update: true
INFO: GeoBlock: 2022/07/19 15:13:59 allow unknown countries: false
INFO: GeoBlock: 2022/07/19 15:13:59 unknown country api response: nil
INFO: GeoBlock: 2022/07/19 15:13:59 allowed countries: [GB IS]