Protobuffers are not ideal for this, sadly...
Protobuffers are not ideal for this, sadly...
Posted Nov 22, 2011 0:28 UTC (Tue) by dashesy (guest, #74652)In reply to: Protobuffers are not ideal for this, sadly... by khim
Parent article: That newfangled Journal thing
Protobuffers seem very interesting! with APIs for C it should fit well with kernel logging as well.
"but will probably not work for wide world where you must handle logs from different, independently written programs"It seems you know better, but skimming through the docs (for my own validation) it seems there are extensions, so the log reader can have access to a generic definition (that comes with kernel) and independent programs can extend it. Sysadmins can install and (keep updated possibly through repos) the definitions for programs they care most.
Another extension that would be interesting is a reverse .proto generator, where I can supply in my protocol structures header file and .proto is generated/updated based on the last release.
