TheThingsArchive / ttn

The Things Network Stack V2
https://www.thethingsnetwork.org
MIT License
461 stars 276 forks source link

Add timestamps to all apex/log package log outputs #660

Closed hoonppark closed 6 years ago

hoonppark commented 7 years ago

This is a feature request.

Currently all apex/log-package log outputs have no timestamps, making it difficult when debugging a problem.

I'd like to ask to add timestamps to all apex/log-package log outputs.

htdvisser commented 7 years ago

Although we usually use syslog, Docker logs or Elasticsearch, the timestamps are not displayed by default in the CLI. It might indeed be nice to add a CLI flag (--log-timestamps) that enables this. Could you submit a pull request for this?

htdvisser commented 6 years ago

There doesn't seem to be much interest for this feature. Archiving for now, but feel free to reopen if you want to work on this.