Skip to content

Reduce IP Location error logging #178

@milosmns

Description

@milosmns

Provide a brief summary of the planned work

IP Locations are an optional feature (especially in the local development environment) and should stop logging errors to reduce misleading error reports.

Detailed overview

We're logging errors when the IP database file is not found; we're logging errors when the file fails to find the IP, and on each request when the location is not found. As the feature is optional, we should either stop logging this stuff completely or at least reduce it to a debug log level.

Hint/location:

com/appifyhub/monolith/features/common/api/RequestIpAddressHolder.kt:58
com.appifyhub.monolith.features.geo.repository.GeolocationRepositoryImpl#log
com.appifyhub.monolith.features.geo.storage.GeolocationDaoLocalFile
scripts/pull_ip_geo.sh:27

List the acceptance criteria

  • Severity of error reporting for IP Location features is reduced
  • If any, tests are updated to reflect this change (and passing)

Include any additional notes (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or requestPlannedPlanned and roadmapped work

    Type

    No type

    Projects

    Status

    Ready

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions