HomePhabricator

Convert logging from syslog to stdout

Authored by Eevans on Feb 28 2019, 9:23 PM.

Description

Convert logging from syslog to stdout

Convention at the WMF seems to be evolving toward writing logs to
stdout. Output will be sent to syslog either via k8s, or via journald
(by way of systemd).

  • Logger writes to an io.Writer (os.Stdout)
  • Timestamp and logging level has been added to each structured message.
  • The "@cee" cookie has been dropped for the time-being

Bug: T209110
Change-Id: Idb2756638bbec01af3d28971e853275927846144

Details