[logback-dev] protobuf

Maarten Bosteels mbosteels.dns at gmail.com
Mon Mar 2 23:09:37 CET 2009


Hello,

My first quick draft of a .proto file [1] for logging events with a
quick-and-dirty attempt to create a Logback => ProtoBuf Convertor [2]

I am sure it's not perfect. So all comments are welcome. It's probably too
logback specific, my goal is that the protocol could also be used for
transmitting log4j events.

I haven't done any benchmarking yet (and I haven't compiled the proto file
optimized for speed)

[1]
http://code.google.com/p/firewood/source/browse/trunk/compare-formats/src/main/java/com/googlecode/firewood/protobuf/logging.proto
[2]
http://code.google.com/p/firewood/source/browse/trunk/compare-formats/src/main/java/com/googlecode/firewood/protobuf/ProtoBufConvertor.java
[3]
http://code.google.com/p/firewood/source/browse/trunk/compare-formats/src/test/java/com/googlecode/firewood/protobuf/ProtoBufConvertorTest.java

regards,
Maarten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-dev/attachments/20090302/a11e5543/attachment.htm>


More information about the logback-dev mailing list