I use this config to modyfy csp.sentinel.log.dir in application.properties:
csp.sentinel.log.dir
application.properties
spring: cloud: sentinel: log: