clickhouse-java icon indicating copy to clipboard operation
clickhouse-java copied to clipboard

[jdbc, client] Logging

Open chernser opened this issue 1 month ago • 0 comments

Description

Libraries should do only necessary logging.

Only very important messages should be in info log.

Here is what should be logged on debug level:

  • Transport level logging:
    • request logging:
      • timestamp
      • query id
      • method
      • client port
      • pathname
      • search
      • headers
    • response
      • headers
      • status code
      • headers
      • duration
    • error logging
      • timestamp
      • query id
      • error code
      • error message
      • stack trace

chernser avatar Nov 04 '25 06:11 chernser