Skip to content
Snippets Groups Projects
Commit a1f4e78b authored by Robert Butora's avatar Robert Butora
Browse files

docker: implements DEBUG_LEVEL

parent b2db84b1
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,12 @@ echo "<Context docBase=\"$WEBAPP_DIR\"/>" > $CATALINA_BASE/conf/Catalina/localho ...@@ -27,6 +27,12 @@ echo "<Context docBase=\"$WEBAPP_DIR\"/>" > $CATALINA_BASE/conf/Catalina/localho
echo "cutout_url=$CUTOUT_SERVICE_URL" echo "cutout_url=$CUTOUT_SERVICE_URL"
} > $WEBAPP_DIR/WEB-INF/classes/formatresponsefilter.properties } > $WEBAPP_DIR/WEB-INF/classes/formatresponsefilter.properties
# configure debug level
DBG_LEVEL=${DEBUG_LEVEL:-CONFIG}
sed -i "s/.*SearchServlet\.level.*=.*/SearchServlet.level = $DBG_LEVEL/g" $CATALINA_BASE/conf/siav2.logging.properties
sed -i "s/.*FormatResponseFilter\.level.*=.*/FormatResponseFilter.level = $DBG_LEVEL/g" $CATALINA_BASE/conf/siav2.logging.properties
sed -i "s/.*DbObstap\.level.*=.*/DbObstap.level = $DBG_LEVEL/g" $CATALINA_BASE/conf/siav2.logging.properties
################################################################### ###################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment