Spring Boot 中的日志文件端点 [英] logfile endpoint in Spring Boot
本文介绍了Spring Boot 中的日志文件端点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我阅读了 Spring Boot Actuator documentation 并看到那里提到的 logfile
端点,这真的会派上用场.
I read Spring Boot Actuator documentation and saw logfile
endpoint mentioned there which would really come in handy.
但是,此端点未在我的应用程序中注册,我不知道如何使其可用.这里需要什么?
However this endpoint is not registered in my app and I have no idea how to make it available. What is needed here?
推荐答案
/logfile
已包含在 仅 1.3.0+.
如果您使用较早的版本,它将不存在..
If you use an earlier version it will then not be present..
这篇关于Spring Boot 中的日志文件端点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文