Overlaybd log output to stdout or journalctl logs
shuaichang opened this issue · comments
shuaichang commented
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?
- Yes, I am willing to implement it.
shuaichang commented
Huiba Li commented
It's better to use LOG_ERRNO_RETURN instead of LOG_ERROR_RETURN, so that error string will be logged as well.
Huiba Li commented
@shuaichang And this issue is more fit for overlaybd.
shuaichang commented
Thanks, I think we are unblocked with the suggestion to use the global "logPath":"" as a workaround, we can close this issue now.