Files
spark/tools/logging/pretty.sh
T
Pedro Pinto 07a3f99f78 Added a log pretty-printer and precise time stamps to log msgs.
We now get a total order for log messages that makes sense and also
the possiblity of measuring the time between any log messages
precisely. This can be used to provide latency logs for the spreader
or any other critical part of the system.
2017-12-29 15:58:53 -05:00

3 lines
89 B
Bash

#!/bin/bash
tac ~/.bts/data/logging/log | grep "Sparkd launched" -m 1 -B 9999 | tac |