Home > Back-end >  Logback configuration file from Nacos dynamic custom configuration
Logback configuration file from Nacos dynamic custom configuration

Time:03-29

Hi,
I refer to blog articles of the Lord configured
https://blog.csdn.net/DPnice/article/details/94650402

Configuration files as follows, but start the service is still abnormal, unable to make spring from nacos. The druid. LogUrl values,
If experience in this aspect of the configuration, please advise what causes project startup cannot read before logback configuration nacos configuration information,
Thank you very much



<? The XML version="1.0" encoding="utf-8"?>
Logback
DefaultValue="HTTP://https://bbs.csdn.net/topics/jdbc:mysql://127.0.0.1:3306/nacos_1? CharacterEncoding=utf-8 & amp; ServerTimezone=Asia/Shanghai/& gt;"


Com. Mysql. JDBC. Driver
The ${spring. The druid. LogUrl} & lt;/url>
The ${spring. The druid. Name} & lt;/username>
123456 a?








  • Related