Logging Interceptor How to implement with Cuba

Hi Team ,

Is their is way to implement Logging Interceptor along with logback so that without logging methods parameters , return manually it will be intercepted by our logging interceptor to do this job directly .

Thanks

Hi,
The architecture of logging libraries such as log4j or logback - has concept of multiple appenders.

Generally if one needs to direct messages to some external service, or file or other output - he/she implements an appender.
http://logback.qos.ch/manual/appenders.html

Then this appender is declared in the customized logback.xml file of the project.
It is possible to configure logback.xml so that all messages go only to one output, or messages are written to both standard appenders (app.log, stdout) and custom outputs.

Most log aggregation tools have logback appender already implemented. E.g. ElasticSearch has this bridge library: