|
|
|
|
|
by combiBean
188 days ago
|
|
Was there not a third option: Calling the journalctl CLI as a child process and consume the parsed logs from the standard output? This might have avoided both the requirement to use CGO and also to write a custom parser. But I guess I am missing something. |
|
Specifically because you're only supposed to use that OR the c bindings by design because they want the ability to change in the internal format when it's necessary.