tracking: Use new log() function instead of print

log() flushes the stdout directly, so that runit can timestamp
the message correctly
tracking: Extended logging