Logger Strategy

Config logger Strategy in dubbo

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:

  1. Command

    java -Ddubbo.application.logger=log4j
  2. Configure in dubbo.properties

  3. Configure in dubbo.xml

    <dubbo:application logger="log4j" />

  1. Custom Extensions: logger-adapter ↩︎

Last modified September 13, 2021: Update (#947) (6b3092d)