kadena-io / chainweb-stream

Streaming server for chainweb events
5 stars 1 forks source link

Chore/improve logging #9

Closed Takadenoshi closed 1 year ago

Takadenoshi commented 1 year ago

Fixed some console.log/errors that remained

Added env var/config LOG_TIMESTAMPS (defaults true) to control prefixing log lines with timestamp. Useful to disable if the environment timestamps the log entries externally (like systemd)

Added env var/config LOG_COLORS (defaults true) to disable colors in the log output