我有一个logback-spring.xml,它使用TimeBasedRollingPolicy的每日翻转实现 创建归档文件的唯一时间是成功重建微服务之后。
我希望我将拥有相同数量的归档日志文件,具体取决于微服务成功调用的次数,因为呼叫的间隔时间超过一分钟左右。
它也没有记录我放在我的类中的LOG.info和LOG.error方法。
The way I have done it, I have set the UAA_CONFIG_PATH environment variable which points to the location of the yaml file.
The settings are provided as follows:
smtp:
host: smtp.gmail.com
port: <port_number>
auth: true
starttls.enable: false
user: <username>
password: <password>
These values are getting picked up by uaa.
Please let me know if it was helpful.
我的配置中出错了什么?