Call Information Record

Understand dubbo3 call information records to configure and use through access logs

Feature description

The log in dubbo3 is divided into log adaptation and access log. If you want to record each request information, you can enable the access log, which is similar to the apache access log.

scenes to be used

Based on audit needs, etc. similar to nginx accesslog output, etc.

How to use

log4j log

Output access logs to the current application’s log4j log

<dubbo:protocol accesslog="true" />

specify the file

Output the access log to the specified file

<dubbo:protocol accesslog="http://10.20.160.198/wiki/display/dubbo/foo/bar.log" />

The log volume is relatively large, please pay attention to the disk capacity.


Last modified January 2, 2023: Enhance en docs (#1798) (95a9f4f6c1c)