From: Yuri Weinstein Date: Wed, 10 Aug 2016 20:15:00 +0000 (-0700) Subject: Added stderr to the log file in addition to stdout X-Git-Tag: v11.1.1~58^2^2~129^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=704d06e9b4d4b3e28e7d2941e19ef2d8bbb6970f;p=ceph.git Added stderr to the log file in addition to stdout Signed-off-by: Yuri Weinstein --- diff --git a/nightlies/cron_wrapper b/nightlies/cron_wrapper index 2e0af8489719..ced5a32b083f 100755 --- a/nightlies/cron_wrapper +++ b/nightlies/cron_wrapper @@ -44,7 +44,10 @@ else exec 200>>$LOG # if $LOG is locked by other process - wait for 20 sec flock -w 20 200 || LOG=$LOG_LOCK_ERR + echo "stdout:" >> $LOG cat $STDOUT >> $LOG + echo "stderr:" >> $LOG + cat $STDERR >> $LOG # unlock flock -u 200 fi