write output to logfile too

This commit is contained in:
Jakobus Schürz 2020-10-08 06:32:44 +02:00
parent 58bcb86901
commit 7c59c76b84

View file

@ -833,7 +833,7 @@ setfileloglevel () {
getloglevels () { getloglevels () {
ENTRY ENTRY
cat << EOF cat << EOF |tee -a $SCRIPT_LOG
LOGLEVEL: ${LOGLEVEL-${LOGLEVEL_DEFAULT}} LOGLEVEL: ${LOGLEVEL-${LOGLEVEL_DEFAULT}}
FILELOGLEVEL: ${FILELOGLEVEL-${FILELOGLEVEL_DEFAULT}} FILELOGLEVEL: ${FILELOGLEVEL-${FILELOGLEVEL_DEFAULT}}