
Hi there I am looking for a logging library, and has gotten confused about wheter: http://www.torjo.com/log2/ or http://boost-log.sourceforge.net/libs/log/doc/html/index.html is most likely to gain acceptance within the boost community? Any thoughts? Regards Mads -- Med venlig hilsen/Regards Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo Dydensborg Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 77 34

Mads Bondo Dydensborg wrote:
Hi there
I am looking for a logging library, and has gotten confused about wheter:
Log2 was rejected at review but I believe John is working on a version 3 of the library.
http://boost-log.sourceforge.net/libs/log/doc/html/index.html
is most likely to gain acceptance within the boost community?
Any thoughts?
Only a formal review can tell. Personally I used log2 and now use Andrey's library. IIRC the latter is based off of many of the ideas that came up before and during the review of the former. -- Michael Marcin

hello,
At the moment I am using the POCO-logging library.
http://pocoproject.org/poco/info/index.html
I know it is not boost but it is very usable
and has a clean structure. I have not tried any of the boost logging
proposals.
best regards,
Oliver
2008/9/24 Michael Marcin
Mads Bondo Dydensborg wrote:
Hi there
I am looking for a logging library, and has gotten confused about wheter:
Log2 was rejected at review but I believe John is working on a version 3 of the library.
http://boost-log.sourceforge.net/libs/log/doc/html/index.html
is most likely to gain acceptance within the boost community?
Any thoughts?
Only a formal review can tell. Personally I used log2 and now use Andrey's library. IIRC the latter is based off of many of the ideas that came up before and during the review of the former.
-- Michael Marcin
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Hi, we are using the POCO library for logging, too. There are lots of nice concepts in it. It is easy to get started. On the other hand, I cannot help but feel that there must be a more elegant and flexible way to do the things they do. IMHO, they have a tendency to re-invent the wheel sometimes, coming up with their own and quite different smart pointers, threading library, etc. In the long run, we plan to replace it, without knowing the replacement and despite the fact that Poco::Logging is the best I have come to play with, yet. Maybe we will take the basic ideas and write something on our own using boost? Just my 2ct. Regards, Roland Oliver Kania wrote:
hello, At the moment I am using the POCO-logging library. http://pocoproject.org/poco/info/index.html
I know it is not boost but it is very usable and has a clean structure. I have not tried any of the boost logging proposals.
best regards, Oliver
2008/9/24 Michael Marcin
mailto:mike.marcin@gmail.com> Mads Bondo Dydensborg wrote:
Hi there
I am looking for a logging library, and has gotten confused about wheter:
Log2 was rejected at review but I believe John is working on a version 3 of the library.
http://boost-log.sourceforge.net/libs/log/doc/html/index.html
is most likely to gain acceptance within the boost community?
Any thoughts?
Only a formal review can tell. Personally I used log2 and now use Andrey's library. IIRC the latter is based off of many of the ideas that came up before and during the review of the former.
-- Michael Marcin
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org mailto:Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

On Thu, 25 Sep 2008 10:28:43 +0200, Roland Bock
Hi,
we are using the POCO library for logging, too. There are lots of nice concepts in it. It is easy to get started.
On the other hand, I cannot help but feel that there must be a more elegant and flexible way to do the things they do. IMHO, they have a tendency to re-invent the wheel sometimes, coming up with their own and quite different smart pointers, threading library, etc.
In the long run, we plan to replace it, without knowing the replacement and despite the fact that Poco::Logging is the best I have come to play with, yet.
Maybe we will take the basic ideas and write something on our own using boost?
I've been using John's logging library before I switched to Andrey's library. While there are various reasons I think the most important is that Andrey uses attributes to route messages from sources to sinks. It's a bit more sophisticated than writing to a sink directly where I'd wonder otherwise if I need a logging library at all. What's nice about the Poco library (I just had a quick look at the documentation) that it seems to support various platform-specific logging facilities. That would be another strong reason for me to use a logging library instead of simply writing messages to a file myself. Boris
[...]

Boris wrote:
What's nice about the Poco library (I just had a quick look at the documentation) that it seems to support various platform-specific logging facilities. That would be another strong reason for me to use a logging library instead of simply writing messages to a file myself.
Poco also has filters, splitters (for sending one message to various sinks), log rotation with optional compression, asynchronous logging and a lot of more stuff I haven't used yet. The features are quite cool. And certainly a thousand times better than simply writing to a file... I'd love to have that functionality "boostified" :-) (Shame on me, I have not looked at http://boost-log.sourceforge.net/ in detail, so I cannot really tell if that would meet my expectations) Regards, Roland

On Thu, 25 Sep 2008 16:46:55 +0200, Roland Bock
Boris wrote:
What's nice about the Poco library (I just had a quick look at the documentation) that it seems to support various platform-specific logging facilities. That would be another strong reason for me to use a logging library instead of simply writing messages to a file myself.
Poco also has filters, splitters (for sending one message to various sinks),
As Andrey's library uses attributes to route messages filtering and splitting works, too. Every sink decides itself if a message should be logged by looking at attributes and checking their values. That way if you want to save more messages to file A for example you only need to change the configuration of the respective sink and don't need to go over your entire code base to log messages to file A everywhere.
log rotation with optional compression,
There is http://boost-log.sourceforge.net/libs/log/doc/html/header/boost/log/utility/... but it doesn't support compression I think.
asynchronous logging and
This could help you: http://boost-log.sourceforge.net/libs/log/doc/html/header/boost/log/sinks/th...
[...]I'd love to have that functionality "boostified" :-)
I'm glad to see that I could find those features you mentioned in Andrey's logging library. It looks like it's pretty much usable then. :) As I said the only feature I miss is support for platform-specific logging facilities (there is only syslog support currently; see http://boost-log.sourceforge.net/libs/log/doc/html/header/boost/log/sinks/sy...). I also think it could be easier to adapt and extend (see http://article.gmane.org/gmane.comp.lib.boost.devel/179360/). Boris

Thanks for all the input! Sounds very promising indeed! I am going to take a closer look soon :-) Regards, Roland Boris wrote:
On Thu, 25 Sep 2008 16:46:55 +0200, Roland Bock
wrote: Boris wrote:
What's nice about the Poco library (I just had a quick look at the documentation) that it seems to support various platform-specific logging facilities. That would be another strong reason for me to use a logging library instead of simply writing messages to a file myself.
Poco also has filters, splitters (for sending one message to various sinks),
As Andrey's library uses attributes to route messages filtering and splitting works, too. Every sink decides itself if a message should be logged by looking at attributes and checking their values. That way if you want to save more messages to file A for example you only need to change the configuration of the respective sink and don't need to go over your entire code base to log messages to file A everywhere.
log rotation with optional compression,
There is http://boost-log.sourceforge.net/libs/log/doc/html/header/boost/log/utility/... but it doesn't support compression I think.
asynchronous logging and
This could help you: http://boost-log.sourceforge.net/libs/log/doc/html/header/boost/log/sinks/th...
[...]I'd love to have that functionality "boostified" :-)
I'm glad to see that I could find those features you mentioned in Andrey's logging library. It looks like it's pretty much usable then. :) As I said the only feature I miss is support for platform-specific logging facilities (there is only syslog support currently; see http://boost-log.sourceforge.net/libs/log/doc/html/header/boost/log/sinks/sy...). I also think it could be easier to adapt and extend (see http://article.gmane.org/gmane.comp.lib.boost.devel/179360/).
Boris
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Hi, it really appears as if logging is one of the most hotly debated topics on the Boost user mailing list. From what I can see, John Torjo's implementation has been added to the review queue and has already been assigned a review manager. Wouldn't this strong interest in a solution be a good argument for a higher priority of that review ? And yes, I'd be happy to add to the review, just like in the case of Oliver's threadpool library. Best Regards, Ruediger Mads Bondo Dydensborg wrote:
Hi there
I am looking for a logging library, and has gotten confused about wheter:
or
http://boost-log.sourceforge.net/libs/log/doc/html/index.html is most likely to gain acceptance within the boost community?
Any thoughts?
Regards
Mads
participants (6)
-
Boris
-
Mads Bondo Dydensborg
-
Michael Marcin
-
Oliver Kania
-
Roland Bock
-
Ruediger Berlich