可以通过配置文件指定日志文件,如下配置会将日志打印到 C:\\logs\\spring-boot-log.log 文件中。 实例:. # 设置日志文件 logging.file=C:\\logs\\spring- ...
確定! 回上一頁