Azure / azure-cosmosdb-java

Java Async SDK for SQL API of Azure Cosmos DB
MIT License
54 stars 61 forks source link

Direct TCP: RntbdClientChannelPool should not warn about channel closures due to inactivity #275

Closed David-Noble-at-work closed 4 years ago

David-Noble-at-work commented 4 years ago

This message should be written at debug level, not warning level:

if (logger.isWarnEnabled()) {
    logger.warn(
        "{} closing due to inactivity (time elapsed since last request: {} > idleEndpointTimeout: {})",
        endpoint, Duration.ofNanos(elapsedTime), Duration.ofNanos(idleEndpointTimeout));
}