mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-713: Merge add support for changing Logback verbosity to Docker start script
This commit is contained in:
@@ -647,6 +647,12 @@ if [ -n "$DUO_API_HOSTNAME" ]; then
|
||||
associate_duo
|
||||
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)
|
||||
#
|
||||
|
Reference in New Issue
Block a user