Hello,<br><br>My first quick draft of a .proto file [1] for logging events with a quick-and-dirty attempt to create a Logback =&gt; ProtoBuf Convertor [2]<br><br>I am sure it&#39;s not perfect. So all comments are welcome. It&#39;s probably too logback specific, my goal is that the protocol could also be used for transmitting log4j events.<br>
<br>I haven&#39;t done any benchmarking yet (and I haven&#39;t compiled the proto file optimized for speed)<br><br>[1] <a href="http://code.google.com/p/firewood/source/browse/trunk/compare-formats/src/main/java/com/googlecode/firewood/protobuf/logging.proto">http://code.google.com/p/firewood/source/browse/trunk/compare-formats/src/main/java/com/googlecode/firewood/protobuf/logging.proto</a><br>
[2] <a href="http://code.google.com/p/firewood/source/browse/trunk/compare-formats/src/main/java/com/googlecode/firewood/protobuf/ProtoBufConvertor.java">http://code.google.com/p/firewood/source/browse/trunk/compare-formats/src/main/java/com/googlecode/firewood/protobuf/ProtoBufConvertor.java</a><br>
[3] <a href="http://code.google.com/p/firewood/source/browse/trunk/compare-formats/src/test/java/com/googlecode/firewood/protobuf/ProtoBufConvertorTest.java">http://code.google.com/p/firewood/source/browse/trunk/compare-formats/src/test/java/com/googlecode/firewood/protobuf/ProtoBufConvertorTest.java</a><br>
<br>regards,<br>Maarten<br>