若依logback.xml log.path 文件更改后重启服务配置值没有改变

尝试重启编辑器!!!!!!!

导致问题的原因都是尝试去更改log.path环境变量的值

错误:
00:56:26,095 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[file_info] - Active log file name: /home/ruoyi/logs/sys-info.log
00:56:26,095 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[file_info] - File property is set to [/home/ruoyi/logs/sys-info.log]
00:56:26,096 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[file_info] - openFile(/home/ruoyi/logs/sys-info.log,true) call failed. java.io.FileNotFoundException: /home/ruoyi/logs/sys-info.log (Permission denied)
at java.io.FileNotFoundException: /home/ruoyi/logs/sys-info.log (Permission denied)
at at java.io.FileOutputStream.open0(Native Method)
at at java.io.FileOutputStream.open(FileOutputStream.java:270)
at at java.io.FileOutputStream.(FileOutputStream.java:213)
Logo

快速构建 Web 应用程序

更多推荐