dreamquster commented on issue #132: The property which is 
'dubbo.application.logger', has not effect
URL: 
https://github.com/apache/incubator-dubbo-spring-boot-project/issues/132#issuecomment-398342347
 
 
   @maristonchen ,  It's ok.
    LogFactory in dubbo will read 'dubbo.application.logger' from 
System.getProperty. Then it call setLoggerAdapter method that set logger to 
specific one.
   However, if you set 'dubbo.application.logger=slf4j' in propteries file, it 
will directly call set setLoggerAdapter without changing 
''dubbo.application.logger' system property.  You can see slf4jAdapter in debug 
mode.
   
   `com.alibaba.dubbo.common.logger.Logger logger = 
com.alibaba.dubbo.common.logger.LoggerFactory.getLogger(DemoConsumerController.class);`
   
![slf4j](https://user-images.githubusercontent.com/4962716/41590251-2969f9b8-73e9-11e8-905e-f6cd4db9044c.png)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to