I'm using upstart on Ubuntu to manage services. It writes to /var/log/upstart/<service>.log
. Errors in this file don't have timestamps, which makes it difficult to diagnose problems.
Is there a way -- a stanza of some kind in the config file -- to tell upstart to write timestamps with its log output?
You can try using annotate-output
shell script from the devscripts package:
Source code here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With