I've written a shell script which converts the relative debug log times to "real" times.
I've found it useful, not that debug logs mean much to me, but it does make them a bit clearer.
It may not be the best written script in the world, but it does seem to work ok, barring the odd rounding error.
No doubt there's a script already in circulation, but I couldn't find it.
Code:
#
# ./tlog Enigma2.log > logt
#
# If there is no NTP record in the log file, it defaults to today.
#
# ./tlog Enigma2.log "2015-07-01 09:22:44" > logt
#
# The second parameter can specify what time the logging started.
#
#
Y="$2"
if [ "$Y" = "" ];
then Y="0"
else Y=`date +%s -d"$2"`
if [ "$Y" = "" ];
then echo invalid date in parameter 2 should be in the form \"2015-07-01 09:22:44\"
exit
fi
fi
#
cat $1 | awk -F">" -v x="0" -v y="$Y" '{
if (match($1,/</) && (RSTART == 1)){x=$1;sub(/</,"",x)}
if (match($1,/\[NTP\]/)){y=$1;sub(/\[NTP\]: setting E2 time:/,"",y)}
while ( getline == 1)
{
if (match($1,/</) && (RSTART == 1)){x=$1;sub(/</,"",x); if (y != "0") {print int(y-x) ; exit}}
if (match($1,/\[NTP\]/)){y=$1;sub(/\[NTP\]: setting E2 time:/,"",y)}
}
print int(systime()-x)}' > /tmp/$$
#
offset=$(cat /tmp/$$)
rm /tmp/$$
#
cat $1 | awk -F">" '{
if (match($1,/</) && (RSTART == 1)){{x=$1;sub(/</,"",$1)}{print strftime("%Y-%m-%d %H:%M:%S",$1+"'"$offset"'"+x),$0}}
else {print $0}}'
#
#