Logger adapter¶
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.propertiesdubbo.application.logger=log4j -
Configure in
dubbo.xml<dubbo:application logger="log4j" />
-
Custom Extensionslogger-adapter ↩