Skip to content

Commit

Permalink
Use different log method.
Browse files Browse the repository at this point in the history
  • Loading branch information
LionsAd committed Dec 9, 2014
1 parent f680384 commit 3c23c37
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion functions/logging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ function drupal_ti_log_output() {
if [ -n "$LOG_OUTPUT" ]
then
echo "Logging output of '$FILE' channel to $LOGFILE and stdout."
tee "$LOGFILE" | nl -b n -s "$FILE> "
tee "$LOGFILE" | while read LINE
do
echo "... $FILE> $LINE"
done
else
echo "Logging output of '$FILE' channel to $LOGFILE."
cat - > "$LOGFILE"
Expand Down

0 comments on commit 3c23c37

Please sign in to comment.