473,606 Members | 2,381 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Logging library

Hello All!

I know that Boost doesn't offer any logging facilities.
Is there expansible, crossplatform, well-designed (all features are
required) logging library for C++?

Any suggestions?

Dec 15 '06 #1
4 7791

kr************* @gmail.com wrote:
Hello All!

I know that Boost doesn't offer any logging facilities.
Is there expansible, crossplatform, well-designed (all features are
required) logging library for C++?

Any suggestions?
Try this one: http://log4c.sourceforge.net/

It is used in professional environments.

----
Ivan
http://www.0x4849.net

Dec 15 '06 #2
On 15 Dec 2006 09:31:25 -0800, krivenok.dmitry @...com wrote:
>Is there expansible, crossplatform, well-designed (all features are
required) logging library for C++?

Any suggestions?
http://pantheios.sourceforge.net/
Dec 15 '06 #3
kr************* @gmail.com wrote:
I know that Boost doesn't offer any logging facilities.
That's not strictly true. There's the Boost Log Library. From
http://www.crystalclearsoftware.com/...rariesUnderCon
struction-New:
"The Boost Log Library is a small logging library, makes it very easy to
declare/define new logs, allows you very simple access to logs, allows for log
hierarchies, and for modifying log hierarchies, allows for easy and efficient
enabling/disabling of logs/log hierarchies, allows for easy manipulation of log
behaviors and is thread-safe."
Download: http://torjo.com/code/logging.zip
Docs: http://torjo.com/

I don't think John Torjo, the author, has worked on it recently but it's
useable.

--
Chuck
Dec 16 '06 #4
kr************* @gmail.com wrote:
Hello All!

I know that Boost doesn't offer any logging facilities.
Is there expansible, crossplatform, well-designed (all features are
required) logging library for C++?

Any suggestions?
Pantheios (http://pantheios.sf.net/) is definitely the way to go.

Roland P. put me onto it, and it's very high quality. It claims to be
very fast - http://pantheios.sourceforge.net/performance.html - and my
experience of it so far bares that out.

It seems to be experiencing a surge in activity recenty too. Feels like
the tem are building up to a non-beta release

Dec 22 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2244
by: Tero Saarni | last post by:
I'm using Logging in my library module for producing trace log of certain events. For being more useful these log entries should be associated with the filename and line number of *users* code that was issuing the library call. This is similar to what Logging itself does since it doesn't print "logging/__init__.py" as value of %(filename) but instead it prints users file where logging method (info, error...) was called. What would be...
6
2205
by: Eric DeWall | last post by:
In trying to clean up the inevitable debug printing littered through some code, I started reading up on the 'logging' module. Browsing groups indicates that the design of the module is controversial but personally I'm very happy to see such a full-featured logger as part of the standard distribution. Here's my problem though (using 2.3.3) - I'm trying to write some reusable classes that _optionally_ use the logging module. So a class...
10
3292
by: Thomas Heller | last post by:
I'm about to add some logging calls to a library I have. How can I prevent that the script that uses the library prints 'No handlers could be found for logger "comtypes.client"' when the script runs? I would like to setup the logging so that there is no logging when nothing is configured, and no warning messages are printed. Thomas
7
9327
by: amitos | last post by:
Hi! I consider using the Logging Application Block, Enterprise Library, Jan 2006 in a major project. To date, I've found that some of its features are not very well documented. One important thing is logging to a database. I tried configuring a database trace listener in the "Enterprise Library Configuration". There I'm stuck. Stored procedures? Which ones exactly? What parameters do they take? I'm pretty confused. It also seems it...
3
2581
by: Dick | last post by:
How do I integrating ASP.NET Tracing with the Enterprise Library Logging Application Block? I guess this should be possible and in a similar way to the way ASP.NET Tracing is integrated with System.Diagnostics Tracing as described in http://msdn2.microsoft.com/en-us/library/b0ectfxd(VS.80).aspx. But I would have thought this is something most ASP developers using the Logging Application Block would want to do and therefore I expected to...
0
1852
by: robert | last post by:
As more and more python packages are starting to use the bloomy (Java-ish) 'logging' module in a mood of responsibility and as I am not overly happy with the current "thickener" style of usage, I want to put this comment and a alternative most simple default framework for discussion. Maybe there are more Python users which like to see that imported (managed) logging issue more down-to-earth and flexible ? ... Vinay Sajip wrote: >...
2
1851
by: Tod Olson | last post by:
Anyone have advice for importing the logging module using MacPython 2.4.3? MacPython installs the logging module in: /Library/Frameworks/Python.framework/Versions/2.4/lib/logging/ There's an __init__.py there and everything, but this directory is not in sys.path. I add it to sys.path as follows: /Library/Frameworks/Python.framework/Versions/2.4/lib/logging
9
1948
by: Rasika WIJAYARATNE | last post by:
Hi guys, Please check this out: http://rkwcoding.blogspot.com/2007/07/error-logging.html
4
3394
by: Alexandru Mosoi | last post by:
why doesn't logging throw any exception when it should? how do I configure logging to throw exceptions? .... logging.fatal('asdf %d', '123') .... except: .... print 'this line is never printed' .... Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/logging/__init__.py", line 744, in emit
6
1716
by: Thomas Heller | last post by:
I'm using the logging module in my comtypes library to log 'interesting' things that happen. In other words, the idea is if the user of the library is interested in the details that happen in the package internally, he (she?) would configure a logging level and handlers that write the log messages where it is convenient. This works great, with one exception: If the script using the library does NOT configure logging, and somewhere the...
0
8016
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8440
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8431
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8096
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8306
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5966
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3937
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3980
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1300
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.