[BUG] csp.sentinel.log.dir参数对sentinel-dashboard无效

n3ipq98p  于 2个月前  发布在  其他
关注(0)|答案(1)|浏览(31)

Issue Description

Type: bug report

Describe what happened

-Dcsp.sentinel.log.dir=/xx/xx设置日志保存路径后,sentinel-dashboard依然会在home目录下面创建logs文件夹

Describe what you expected to happen

sentinel dashboard日志保存到指定的文件夹

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

ddhy6vgd

ddhy6vgd1#

Because of this logging setting, logback will make '/logs' dir while DashboardApplication start up.
And the 'sentinel-dashboard.log' is still in the '/logs/cps' dir.
I can help to fix this problem.

相关问题