Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apollo-assembly/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spring:

logging:
file:
name: /opt/logs/100003171/apollo-assembly.log
name: /opt/logs/apollo-assembly.log

management:
health:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/en/contribution/apollo-development-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/contribution/apollo-development-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down