Closed keloin closed 6 years ago
Hey keloin,
I had the same thinking a few weeks ago. Therefore I created a tiny plugin which adds a locale timestamp to the console output of homebridge. I have just published it for others to use.
You should be able to install it using the following command:
sudo install -g homebridge--log
Looking forward to your feedback, as this is the first time I have ever published something on GitHub let alone for npm.
Best Regards, Eisvogel.
Hi @keloin, IF you're on Linux (e.g. RaspberryPi) you might want to consider switching to system.d (see the excellent write-up here ) When doing so you'll get the time stamps for free in the journal plus to other nifty features ... see the link.
Best regards
This issue has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this issue was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.
Is it possible to add a timestamp to console.log / .error functions? Would be really helpful!
Thanks!