Open Bug 1616931 Opened 5 years ago Updated 4 years ago

support logging plugins to pipe worker logs to various places

Categories

(Taskcluster :: Workers, task)

task
Not set
normal

Tracking

(Not tracked)

People

(Reporter: dustin, Unassigned)

References

(Depends on 1 open bug)

Details

We would probably support syslog / event log, as well as stackdriver, papertrail, etc. This would allow configuration of logging destinations at the worker-pool level, rather than baking it into the image. This also includes supporting structured logging, both reading from the worker and writing to log destinations

Depends on: 1622052

What remains:

  • Support for backends other than stdio
    • syslog, for sending directly to papertrail without involving the system logger (I haven't found a golang library for this yet..)
    • stackdriver? some other structured log aggregator?
  • docker-worker support (using the log message type)
  • Add structured logs to workers where necessary (@walac maybe the WORKER_METRICS makes sense to do with structured logging?)

I'm moving this back to the backlog in https://github.com/orgs/taskcluster/projects/5 as it's not blocking anything right now. The portion I've completed is still likely to be useful on its own, and the previous comment gives next steps.

Assignee: dustin → nobody

Bug 1436274 requests an event-log backend.

Bug 1529660 is about adding structured logging to workers, but without any particular motivation.

Depends on: 1436274
You need to log in before you can comment on or make changes to this bug.