mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-713: Add support for changing Logback verbosity to Docker start script
This commit is contained in:
@@ -643,6 +643,12 @@ if [ -n "$DUO_API_HOSTNAME" ]; then
|
|||||||
associate_duo
|
associate_duo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Set logback level if specified
|
||||||
|
if [ -n "$LOGBACK_LEVEL" ]; then
|
||||||
|
unzip -o -j /opt/guacamole/guacamole.war WEB-INF/classes/logback.xml -d $GUACAMOLE_HOME
|
||||||
|
sed -i "s/level=\"info\"/level=\"$LOGBACK_LEVEL\"/" $GUACAMOLE_HOME/logback.xml
|
||||||
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# Finally start Guacamole (under Tomcat)
|
# Finally start Guacamole (under Tomcat)
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user