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

Add audit logging

Open akudiyar opened this issue 4 years ago • 1 comments

Problem statement

Currently, there is no logging at all, except what comes from Netty. But logging is necessary for debug purposes and auditing the data flows.

Proposed solution

The following sides of logging should be considered:

  • Failure logging
  • Audit logging (tracing) for requests
  • Connection/disconnection logging
  • Logging settings (examples of logback configuration)

akudiyar avatar Nov 15 '20 19:11 akudiyar

I'd like to suggest some details on the audit logging. There can be some toggable levels of logging (or combinations of the following):

  • request conditions (tarantool method call parameters);
  • response row count;
  • response metadata (headers);
  • any caching operations if the exist (I hope they will not);
  • complete logging of request and response bodies (as raw as possible);

vrogach2020 avatar Mar 26 '21 05:03 vrogach2020