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

keepalive: trace in case of success #1092

Merged
merged 1 commit into from
Oct 16, 2024

Commits on Oct 16, 2024

  1. keepalive: trace in case of success

    cpp-rust-driver tests sometimes depend upon logs emitted by the driver.
    HeartbeatTests are on of them. Tests look for a following log:
    `logger_.add_critera("Heartbeat completed on host " + ccm_->get_ip_prefix());`.
    
    Before this commit, rust-driver was not emitting any logs in case of
    keepalive request success. I think it's not a bad idea to add a trace log
    here, considering that keepalive intervals are rather long (default is 30s).
    
    Obviously, the logger criteria will need to
    be adjusted in `cpp-rust-driver` tests as well.
    muzarski committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    3a0ca2e View commit details
    Browse the repository at this point in the history