Closed shuaichang closed 1 year ago
Verified that commenting this line out will redirect logs to stdout. Is it possible to make this as a config for log destination (e.g. file|stdout)
It's better to use LOG_ERRNO_RETURN instead of LOG_ERROR_RETURN, so that error string will be logged as well.
@shuaichang And this issue is more fit for overlaybd.
Thanks, I think we are unblocked with the suggestion to use the global "logPath":"" as a workaround, we can close this issue now.
What is the version of your Accelerated Container Image
Overlaybd 0.6.12
What would you like to be added?
In some cases it is desirable to output overlaybd logs into stdout and get logs managed by journalctl so it's a consistent operational experience. Is this something overlaybd could support?
Why is this needed for Accelerated Container Image?
For operational consistency.
Are you willing to submit PRs to contribute to this feature?