Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 优化 chen 组件日志输出 #235

Merged
merged 1 commit into from
May 17, 2024
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: 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 @@ -57,7 +57,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",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",BIND_PORT=9092,LANG=en_US.UTF-8
directory=/opt/chen/
command=/usr/local/bin/wisp
stdout_logfile=/dev/stdout
Expand Down