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

    dubbo.application.logger=log4j
    
  3. Configure in dubbo.xml

    <dubbo:application logger="log4j" />
    

  1. Custom Extensions: logger-adapter ↩︎


Last modified November 25, 2020: fix sample code issue for SPI.md (#659) (0576d68)