From 12dbf48f48417f5f7d44a7f3898e2ca7fd8c73fc Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Mon, 1 Nov 2021 17:36:30 +0100 Subject: [PATCH] store logs of execution --- deploy_app.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy_app.sh b/deploy_app.sh index d645dad..05e2c2e 100755 --- a/deploy_app.sh +++ b/deploy_app.sh @@ -20,6 +20,7 @@ cd $( dirname $0 ) selfdir=$( /bin/pwd ) tmpdir=/var/tmp/imldeployment_packages +logdir=/var/log/imldeployment-client wait=0 # wait=1 @@ -320,7 +321,7 @@ fi for myprofile in $allprofiles do - deploy $myprofile + deploy $myprofile | tee ${logdir}/${myprofile}__$(date +%Y-%m-%d__%H%I%S).log profile= done -- GitLab