diff --git a/apollo-assembly/src/main/resources/application.yml b/apollo-assembly/src/main/resources/application.yml index 7dad78c2e07..ec41aca538a 100644 --- a/apollo-assembly/src/main/resources/application.yml +++ b/apollo-assembly/src/main/resources/application.yml @@ -30,7 +30,7 @@ spring: logging: file: - name: /opt/logs/100003171/apollo-assembly.log + name: /opt/logs/apollo-assembly.log management: health: diff --git a/apollo-configservice/src/main/resources/configservice.properties b/apollo-configservice/src/main/resources/configservice.properties index 02f472eee02..cf8ea9223cc 100644 --- a/apollo-configservice/src/main/resources/configservice.properties +++ b/apollo-configservice/src/main/resources/configservice.properties @@ -16,5 +16,5 @@ #Used for apollo-assembly spring.application.name= apollo-configservice server.port= 8080 -logging.file.name= /opt/logs/100003171/apollo-configservice.log +logging.file.name= /opt/logs/apollo-configservice.log spring.jmx.default-domain = apollo-configservice diff --git a/docs/en/contribution/apollo-development-guide.md b/docs/en/contribution/apollo-development-guide.md index 7ecff0111d6..d0ff3c7cd96 100644 --- a/docs/en/contribution/apollo-development-guide.md +++ b/docs/en/contribution/apollo-development-guide.md @@ -75,7 +75,7 @@ The initialization script for the MySQL database can be found in the scripts/sql [apolloconfigdb.sql](https://cdn.jsdelivr.net/gh/apolloconfig/apollo@master/scripts/sql/profiles/mysql-default/apolloconfigdb.sql) [apolloportaldb.sql](https://cdn.jsdelivr.net/gh/apolloconfig/apollo@master/scripts/sql/profiles/mysql-default/apolloportaldb.sql) ->Note 3: The default log output of the program is /opt/logs/100003171/apollo-assembly.log, if you need to modify the log file path, you can add the `logging.file.name` parameter, as follows. +>Note 3: The default log output of the program is /opt/logs/apollo-assembly.log, if you need to modify the log file path, you can add the `logging.file.name` parameter, as follows. > >-Dlogging.file.name=/your-path/apollo-assembly.log diff --git a/docs/zh/contribution/apollo-development-guide.md b/docs/zh/contribution/apollo-development-guide.md index ac6c3c3eb9c..a54f9353c02 100644 --- a/docs/zh/contribution/apollo-development-guide.md +++ b/docs/zh/contribution/apollo-development-guide.md @@ -66,7 +66,7 @@ mysql 数据库初始化脚本见 本项目 scripts/sql/profiles/mysql-default [apolloconfigdb.sql](https://cdn.jsdelivr.net/gh/apolloconfig/apollo@master/scripts/sql/profiles/mysql-default/apolloconfigdb.sql) [apolloportaldb.sql](https://cdn.jsdelivr.net/gh/apolloconfig/apollo@master/scripts/sql/profiles/mysql-default/apolloportaldb.sql) ->注3:程序默认日志输出为/opt/logs/100003171/apollo-assembly.log,如果需要修改日志文件路径,可以增加`logging.file.name`参数,如下: +>注3:程序默认日志输出为/opt/logs/apollo-assembly.log,如果需要修改日志文件路径,可以增加`logging.file.name`参数,如下: > >-Dlogging.file.name=/your-path/apollo-assembly.log