Skip to content

Improve log handling #3034

@HyeockJinKim

Description

@HyeockJinKim

Main idea

References

  1. When db or etcd is terminated, the manager continues to retry the connection. However, in this case, an exception message is displayed instead of a log.

  2. When the redis connection is terminated and the manager retries the connection, there is no log indicating when the connection is successfully restored. It is difficult to explicitly know the time of redis reconnection.

    Tasks

  3. Ensure that an exception is logged when PostgreSQL or etcd connection retries fail.

  4. When a redis request is retried and successfully completes, log the successful retry event as an info log.* I think it would be better to run a ping request periodically to track the status of the redis server.

Expected Results

  • Consistent logging of both failure and recovery events, making it easier to track the issues and their resolutions.

    Alternative ideas

No response

Anything else?

No response

JIRA Issue: BA-64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions