log4cplus Icon


Logging Framework for C++

4.6 Stars (28)
682 Downloads (This Week)
Last Update:
Download log4cplus-1.2.1-rc1.tar.xz
Browse All Files
Windows BSD Linux


log4cplus is a simple to use C++ logging API providing thread-safe, flexible, and arbitrarily granular control over log management and configuration. It is modelled after the Java log4j API.

log4cplus Web Site


Other Useful Business Software

SolarWinds is #1 in network monitoring. Icon

Get comprehensive network bandwidth analysis and performance monitoring with SolarWinds® Bandwidth Analyzer Pack.

SolarWinds is #1 in network monitoring. Icon
Network slow but you don't know the cause? Use Bandwidth Analyzer Pack (BAP) to monitor and analyze network bandwidth performance and traffic patterns. With BAP you can identify which users, applications, and protocols are consuming the most bandwidth. You can also monitor Wireless LAN Controller traffic to see what applications and clients are using your wireless network. Try it free for 30 days!

User Ratings

ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
Write a Review

User Reviews

  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Agree with kyberuserid..., I used this API in a project with hopes that it would simplify my task of development, but it didn't... Worked in native win32/x64 version of the application that uses it, but when called from managed code that uses the native version of application dll it throws scheduler_resource_allocation_error. So I'm going to consider looking for something else, maybe Pantheios - I'm back to square one after all that bloody hard work only to discover that I can't make a release because it fails with .NET

    Posted 02/03/2016
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    I compile static lib with my project (Visual Studio 2010), but linking error! --------------------------------------------------------------------------- 1>ClCompile: 1> All outputs are up-to-date. 1>ManifestResourceCompile: 1> All outputs are up-to-date. 1>log4cplusSD.lib(factory.obj) : error LNK2019: unresolved external symbol "public: __thiscall log4cplus::SysLogAppender::SysLogAppender(class log4cplus::helpers::Properties const &)" (??0SysLogAppender@log4cplus@@QAE@ABVProperties@helpers@1@@Z) referenced in function "public: virtual class log4cplus::helpers::SharedObjectPtr<class log4cplus::Appender> __thiscall log4cplus::spi::FactoryTempl<class log4cplus::SysLogAppender,class log4cplus::spi::AppenderFactory>::createObject(class log4cplus::helpers::Properties const &)" (?createObject@?$FactoryTempl@VSysLogAppender@log4cplus@@VAppenderFactory@spi@2@@spi@log4cplus@@UAE?AV?$SharedObjectPtr@VAppender@log4cplus@@@helpers@3@ABVProperties@53@@Z) 1>D:\Projects\AutoTradeSystem\Bin\Win32\Debug\Backtest.exe : fatal error LNK1120: 1 unresolved externals 1> 1>Build FAILED.

    Posted 10/06/2012
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    I hate this ugly piece of crap. Was going to use it on Windows because log4cpp doesn't work there and logcxx is an overblown monster. This one is especially nasty having absorbed a welter of ugly hacks over the decade since the original author jettisoned it. The hacks are totally undocumented and the most you can find are amateurish write-ups at random web pages. Usable but only by painful reading of its sources and inference of what a c++ log4j is supposed to be doing. Says more about C++ than I ever could with words. Decided to just gut the whole thing and roll my own simple sprintf based logger in disgust.

    Posted 08/10/2010
Read more reviews

Additional Project Details



Intended Audience


Programming Language




Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks