Share

Log library for C++

Code

Programming Languages: C++

License: GNU Library or Lesser General Public License (LGPL)

Repositories

browse code, statistics, last commit on 2009-09-07 cvs -d:pserver:anonymous@log4cpp.cvs.sourceforge.net:/cvsroot/log4cpp login

cvs -z3 -d:pserver:anonymous@log4cpp.cvs.sourceforge.net:/cvsroot/log4cpp co -P modulename

Show:

What's happening?

  • Followup: RE: Linker error compiling MSVC 7.1 and 8.0

    To work properly you should link with DLL export library unless you really need to link with static version. I think you should link with log4cpp.lib.

    2009-11-17 08:05:04 UTC by dark--angel

  • Followup: RE: Linker error compiling MSVC 7.1 and 8.0

    They're all linkin to log4cpplib.lib .. Thanks dark-angel.

    2009-11-17 03:09:29 UTC by suntosh

  • Followup: RE: Linker error compiling MSVC 7.1 and 8.0

    Thanks , Actually the testNTEventLog project was generating the error. Once I added the localtime hh/cpp files to the Log4cppLib project . All works okay now. On a different note , which lib should one be linking to in their programs log4cpp.lib or log4cpplib.lib.

    2009-11-17 02:54:37 UTC by suntosh

  • Followup: RE: Linker error compiling MSVC 7.1 and 8.0

    I don't have msvc7 or 7.1 to check, but think that solution is easy. You need to add to msvc log4cpp project Localtime.cpp from src directory.

    2009-11-16 21:23:16 UTC by dark--angel

  • Linker error compiling MSVC 7.1 and 8.0

    Need help compiling on MSVC 2005. I checked out the code from the CVS a while ago and compiling sources in msvc7 directory and always get the following error in both ( 7.1 and 8.0 ) log4cpplib.lib(PatternLayout.obj) : error LNK2019: unresolved external symbol "void __cdecl log4cpp::localtime(__int64 const *,struct tm *)" (?localtime@log4cpp@@YAXPB_JPAUtm@@@Z) referenced in function "public:

    2009-11-16 19:02:01 UTC by suntosh

  • Log library for C++

    waffel added danielfranklin to the Log library for C++ project.

    2009-10-15 11:39:44 UTC by waffel

  • date appender and auto_link

    1) I added DateRolllingFileAppender. It create files like YYYY-MM-DD | YYYY-WW | YYYY--MM-DD-HH 2) I added boost-like building engine and auto-link for MSVC I think it is good part for this library.

    2009-10-13 19:03:57 UTC by fix-bug

  • Comment: Support real-time systems

    Thanks for the possible developer rights. I might take you up on that. The overall picture is that I'm looking at using log4cpp as the basis for a real-time logging system for the Orocos project: http://www.orocos.org/. If you are interested, message list traffic is at http://www.orocos.org/forum/rtt/rtt-dev/logging-replacement while a wiki page with more details is at...

    2009-10-09 01:10:50 UTC by sroderick

  • Comment: Support real-time systems

    I don't know about any discussion related to realtime systems. But if you interested in changing log4cpp to have such real-time support you can simple join our development team. I can give you developer rights and support related to the toolchain and maintainance. Of corse you may also put your question in our developer and user maillinglist.

    2009-09-25 18:20:54 UTC by waffel

  • Support real-time systems

    We are looking for a log4j-style, C++ logging package to use in soft- and hard-realtime robotic systems. I was wondering if anyone has previously considered using log4cpp in realtime systems? Obviously, appenders that write to disc, etc, would be in non-real-time parts of the system, but the ability to log from real-time tasks would be extremely useful. The real killer here is dynamic memory...

    2009-09-12 20:08:23 UTC by sroderick

Our Numbers