File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11### 🪄 Features
2- * remove truncation from clients.html
2+ * add DEBUG option via enivornment variable DEBUG
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ ARG APP_VERSION=stable
2020 ENV PYKMS_LICENSE_PATH=/opt/py-kms/LICENSE
2121 ENV PYKMS_VERSION_PATH=/opt/py-kms/VERSION
2222 ENV PORT=8080
23+ ENV LOG_LEVEL=INFO
2324
2425 # :: multi-stage
2526 COPY ./LICENSE /opt/py-kms
Original file line number Diff line number Diff line change 11#! /bin/ash
22 if [ -z " ${1} " ]; then
3+
4+ if [ ! -z " ${DEBUG} " ]; then
5+ LOG_LEVEL=" DEBUG"
6+ eleven log debug " setting kms-gui log level to DEBUG"
7+ fi
8+
39 cd /opt/py-kms
410 set -- " gunicorn" \
5- --log-level INFO \
11+ --log-level ${LOG_LEVEL} \
612 pykms_WebUI:app
713
814 eleven log start
You can’t perform that action at this time.
0 commit comments