Sentinel icon indicating copy to clipboard operation
Sentinel copied to clipboard

Fix sentinel-dashboard.log wrong path problems

Open furaul opened this issue 7 months ago • 0 comments

Describe what this PR does / why we need it

Fix sentinel-dashboard.log wrong path problems while user defined {csp.sentinel.log.dir}.

Does this pull request fix one issue?

https://github.com/alibaba/Sentinel/issues/3434

Describe how you did it

correct logging.file.name setting in sentinel-dashboard/src/main/resources/application.properties.

Describe how to verify it

  1. add -Dcsp.sentinel.log.dir=/Users/XXXX/logs1 in VM options.
  2. While the DashboardApplication startup, the ${user.home}/logs/csp will not be created.

Special notes for reviews

furaul avatar Jul 24 '24 07:07 furaul