2.2.1
or later, dubbo support log4j、slf4j、jcl、jdk adapters 1, you can also explicitly configure the log output policy in the following ways:
Command
java -Ddubbo.application.logger=log4j
Configure in dubbo.properties
dubbo.application.logger=log4j
Configure in dubbo.xml
<dubbo:application logger="log4j" />
Custom Extensions: logger-adapter ↩︎