Details
-
Epic
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
None
-
None
-
logger module
Description
Executors and tasks are configured (via the various containerizers) to write their output (stdout/stderr) to files ("stdout" and "stderr") on an agent's disk.
Unlike Master/Agent logs, executor/task logs are not attached to any formal logging system, like glog. As such, there is significant scope for improvement.
By introducing a module for logging, we can provide a common/programmatic way to access and manage executor/task logs. Modules could implement additional sinks for logs, such as:
- to the sandbox (the status quo),
- to syslog,
- to journald
This would also provide the hooks to deal with logging related problems, such as:
- the (current) lack of log rotation,
- searching through executor/task logs (i.e. via aggregation)