Skip to content

Commit 2a8b493

Browse files
committed
Add timestamp to runtime debug logs
1 parent 89d2758 commit 2a8b493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runcvm-scripts/runcvm-runtime

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ debug() {
3535
}
3636

3737
log() {
38-
debug && echo "$@" >>/tmp/runcvm-$$.log
38+
debug && echo "$(date '+%Y-%m-%d %H:%M:%S.%6N'): $@" >>/tmp/runcvm-$$.log
3939
}
4040

4141
error() {

0 commit comments

Comments
 (0)