Skip to content

Commit

Permalink
feat: 优化 chen 组件日志输出
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed May 17, 2024
1 parent 1340596 commit c351b7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions allinone/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ if [ "$(uname -m)" = "loongarch64" ]; then
export SECURITY_LOGIN_CAPTCHA_ENABLED=False
fi

export GIN_MODE=release

cd /opt/jumpserver || exit 1
./jms upgrade_db || {
echo -e "\033[31m Failed to change the table structure. \033[0m"
Expand Down
2 changes: 1 addition & 1 deletion allinone/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ autorestart=true

[program:chen]
priority=100
environment=GIN_MODE="release",WORK_DIR="/opt/chen",COMPONENT_NAME="chen",WISP_TRACE_PROCESS=1,EXECUTE_PROGRAM="java -Dfile.encoding=utf-8 -XX:+ExitOnOutOfMemoryError -jar /opt/chen/chen.jar --mock.enable=false --logging.level.root=ERROR",BIND_PORT=9092,LANG=en_US.UTF-8
environment=WORK_DIR="/opt/chen",COMPONENT_NAME="chen",WISP_TRACE_PROCESS=1,EXECUTE_PROGRAM="java -Dfile.encoding=utf-8 -XX:+ExitOnOutOfMemoryError -jar /opt/chen/chen.jar --mock.enable=false --logging.level.root=ERROR",BIND_PORT=9092,LANG=en_US.UTF-8
directory=/opt/chen/
command=/usr/local/bin/wisp
stdout_logfile=/dev/stdout
Expand Down

0 comments on commit c351b7b

Please sign in to comment.