|
From: Matthew W. <ma...@sy...> - 2006-11-30 03:03:40
|
Hi I don't know if this is the done thing or not, but since the subject of moribundity and other libraries has come up in the log4cxx mailing-list, I'd like to draw people's attention to a new logging _API_ library that myself and a colleague have recently released to the public domain: Pantheios (http://pantheios.sourceforge.net/). As the website explains, this comes with its own basic logging transport facilities. But it is really a flexible/extensible, 100% type-safe, and very efficient (see http://pantheios.sourceforge.net/performance.html) layer that can be used over the rich transport facilities of any existing logging library, including log4cxx or log4cpp. We've an article coming out soon on The C++ Source (http://artima.com/cppsource/) which will introduce it to the C++ world, so to speak. But since the subject's been raised in the log4cxx forum, I thought I'd give it a mention now. The current beta contains two examples in which log4cxx (examples/cpp/example_cpp_wrap_3pty_log_lib) and log4cplus (examples/cpp/example_cpp_wrap_log4cplus) are wrapped. If anyone with particular expertise with log4cxx, log4cplus and log4cpp would be willing to lend a hand in producing actual bindings to these libraries, we'd be very grateful. (Note: you can still use NDC's and all that stuff from within application code, so Pantheios+log4XYZ offers the best of both worlds.) Thanks for listening. Matthew Wilson Author: "Extended STL", Addison-Wesley, 2006 http://www.extendedstl.com Author: "Imperfect C++", Addison-Wesley, 2004 http://www.imperfectcplusplus.com "I can't sleep nights till I found out who hurled what ball through what apparatus" -- Dr Niles Crane |
|
From: Konstantin L. <Kon...@ma...> - 2006-11-30 07:30:55
|
SGVsbG8sIE1hdHRoZXchDQpZb3Ugd3JvdGUgdG8gPGxvZzRjcHAtZGV2ZWxAbGlzdHMuc291cmNl Zm9yZ2UubmV0PiBvbiBUaHUsIDMwIE5vdiAyMDA2IDE0OjAzOjIxICsxMTAwOg0KDQogTVc+IEFz IHRoZSB3ZWJzaXRlIGV4cGxhaW5zLCB0aGlzIGNvbWVzIHdpdGggaXRzIG93biBiYXNpYyBsb2dn aW5nDQogTVc+IHRyYW5zcG9ydCBmYWNpbGl0aWVzLiBCdXQgaXQgaXMgcmVhbGx5IGEgZmxleGli bGUvZXh0ZW5zaWJsZSwgMTAwJQ0KIE1XPiB0eXBlLXNhZmUsIGFuZCB2ZXJ5IGVmZmljaWVudCAo c2VlDQogTVc+IGh0dHA6Ly9wYW50aGVpb3Muc291cmNlZm9yZ2UubmV0L3BlcmZvcm1hbmNlLmh0 bWwpIGxheWVyIHRoYXQgY2FuIGJlDQogTVc+IHVzZWQgb3ZlciB0aGUgcmljaCB0cmFuc3BvcnQg ZmFjaWxpdGllcyBvZiBhbnkgZXhpc3RpbmcgbG9nZ2luZw0KIE1XPiBsaWJyYXJ5LCBpbmNsdWRp bmcgbG9nNGN4eCBvciBsb2c0Y3BwLg0KDQogICAgV2hlcmUgY2FuIEkgZ2V0IHBlcmZvbWFuY2Ug dGVzdCBzb3VyY2VzPyBJIHJlYWxseSBjYW4ndCB1bmRlcnN0ZW5kIGhvdyB5b3UgbGlicmFyeSBj YW4gb3V0cGVyZm9ybSBsb2c0Y3BwIGluIGFueSB0ZXN0IHByb3ZpZGVkLg0KDQpXaXRoIGJlc3Qg cmVnYXJkcywgS29uc3RhbnRpbiBMaXR2aW5lbmtvLg== |
|
From: Matthew W. <ma...@sy...> - 2006-11-30 10:04:39
|
Ah, silly me! > Where can I get perfomance test sources? I've been meaning to add that into the distro for ages, but keep forgetting. I'm planning another beta (1.0.1. beta 10) tomorrow. I will include it with that. > I really can't understend how you library can outperform log4cpp in any test provided. Well, if a given logging level is switched off, there're no conversions, no strlen(), no strcpy(), no memory allocations: in fact, no actions of any kind, other than the severity test itself - pantheios::isSeverityLogged(). Cheers Matthew |
|
From: Konstantin L. <Kon...@ma...> - 2006-11-30 10:34:20
|
SGVsbG8sIE1hdHRoZXchDQpZb3Ugd3JvdGUgdG8gIktvbnN0YW50aW4gTGl0dmluZW5rbyIgPEtv bnN0YW50aW4uTGl0dmluZW5rb0BtYWx2YS51YT47IDxsb2c0Y3BwLWRldmVsQGxpc3RzLnNvdXJj ZWZvcmdlLm5ldD4gb24gVGh1LCAzMCBOb3YgMjAwNiAyMTowMjoyOSArMTEwMDoNCg0KIE1XPiBB aCwgc2l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You wrote to "Konstantin Litvinenko" > <Kon...@ma...>; > <log...@li...> on Thu, 30 Nov 2006 21:02:29 +1100: > > MW> Ah, silly me! > > ??>> Where can I get perfomance test sources? > > MW> I've been meaning to add that into the distro for ages, but keep > MW> forgetting. I'm planning another beta (1.0.1. beta 10) > tomorrow. I will > MW> include it with that. > > Ok. Waiting.... :) I've uploaded it just now, in a package imaginatively entitled "Performance Tests". Cheers Matthew |
|
From: Matthew W. <ma...@sy...> - 2006-11-30 10:55:35
|
I do want to stress that Pantheios is not conceived as a replacement for other logging libraries, since it has only rudimentary transport of its own. The intention is that the flexibility, robustness and performance is a complement to the rich transport facilities of ACE, log4cpp, log4cplus, log4cxx, etc. In other words, we're not trying to trespass on log4cpp or steal its users. :-) Cheers Matthew |