nestybox / sysbox

An open-source, next-generation "runc" that empowers rootless containers to run workloads such as Systemd, Docker, Kubernetes, just like VMs.
Apache License 2.0
2.78k stars 152 forks source link

Extend Sysbox to provide a json logging option #138

Closed rodnymolina closed 3 years ago

rodnymolina commented 3 years ago

[ requested by @kylecarbs ]

Sysbox should provide an option to log information in JSON format to ease log-parsing logic in user's monitoring tools.

ctalledo commented 3 years ago

This was completed in both sysbox-mgr and sysbox-fs:

sysbox-mgr commit: c5e2b1c sysbox-fs commit: 4cef572

A new log-format command line option was added to both of these to control the log format (e.g., text or json).

Closing.