Protobuffers are not ideal for this, sadly...
Protobuffers are not ideal for this, sadly...
Posted Nov 21, 2011 18:58 UTC (Mon) by khim (subscriber, #9252)In reply to: That newfangled Journal thing by hanwen
Parent article: That newfangled Journal thing
Actually Google itself uses protobuffers for logging, but it'll not work outside of Google.
The problem here is that protobuffers separate description of structure and the data. This means that you can not add new type of log without changing the protobuf definition. Works fine if all log types are kept in central repo (log reader just includes all possible log protobuffers from all possible programs), but will probably not work for wide world where you must handle logs from different, independently written programs.
