Sentinel
Sentinel copied to clipboard
Fix sentinel-dashboard.log wrong path problems
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
- add -Dcsp.sentinel.log.dir=/Users/XXXX/logs1 in VM options.
- While the DashboardApplication startup, the ${user.home}/logs/csp will not be created.