Skip to content

Commit 65fcf6a

Browse files
feat: 优化 chen 组件日志输出
1 parent a54bd8e commit 65fcf6a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

allinone/entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ if [ "$(uname -m)" = "loongarch64" ]; then
6060
export SECURITY_LOGIN_CAPTCHA_ENABLED=False
6161
fi
6262

63+
export GIN_MODE=release
64+
6365
cd /opt/jumpserver || exit 1
6466
./jms upgrade_db || {
6567
echo -e "\033[31m Failed to change the table structure. \033[0m"

allinone/supervisord.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ autorestart=true
5757

5858
[program:chen]
5959
priority=100
60-
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",BIND_PORT=9092,LANG=en_US.UTF-8
60+
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",BIND_PORT=9092,LANG=en_US.UTF-8
6161
directory=/opt/chen/
6262
command=/usr/local/bin/wisp
6363
stdout_logfile=/dev/stdout

0 commit comments

Comments
 (0)