Migrate from GitHub to SourceForge with this tool. Check out all of SourceForge's recent improvements.
Close

log4cplus / News: Recent posts

log4cplus 2.0.0 released

  • CMake improvements: Automate export of includes if building as Cmake sub-module. (Rodion Malinovsky)

  • Debian spec file improvements: Use parallel build. Fix installation path on 64bit. (Michal Marek)

  • CMake improvements: Use ${CMAKE_INSTALL_LIBDIR} instead of hardcoding lib. (Radek Dostál)

  • Experimental Windows 10 ARM support through CMAKE

Posted by Václav Haisman 2018-04-16 Labels: v2.0.0

log4cplus 1.2.1-RC2 released

I have released log4cplus 1.2.1-RC2:

  • Fixed SF#334. Handle signal interrupting sem_wait().

  • Avoid language level thread-local variables on Cygwin to avoid compilation issue (GCC PR64697).

  • Implement suggestion in SF#297 to allow filters in AsyncAppender configuration.

  • Require CMake 2.8.12 and later due to use of INCLUDES DESTINATION (Patched by Enrico Jorns.)... read more

Posted by Václav Haisman 2017-07-11 Labels: v1.2.1-rc2 rc

log4cplus 2.0.0-RC2 released

  • Avoid copying whole message just to prepend message length in SocketAppender. Instead, use OS specific "gather" socket write.

  • Fixed GitHub issue #136.

  • FileAppender classes now have TextMode property that can be set to Binary or Text (default) to specify underlying IO stream behavior with respect to end-of-line handling. (Patch by raphaelmarcucci).

  • Fixed compilation issues when building log4cplus with Visual Studio and Clang toolchain.... read more

Posted by Václav Haisman 2017-07-09 Labels: v2.0.0-rc2 rc

log4cplus 2.0.0-RC1 released

I have released log4cplus 2.0.0-RC1. It is the first C++11 based release.

  • IMPORTANT: Implementation language is now C++11. OS specific implementations have been replaced by C++11 facilities wherever possible. This lowers complexity of the library and improves maintainability but it also brings limitations to when the library can be used. Specifically, the library should not be used before main() is entered and after main() is left. Even more specifically, the library should not be used during global objects construction and destruction.... read more
Posted by Václav Haisman 2017-02-01 Labels: v2.0.0-rc1 release

log4cplus 1.2.1-RC1 released

I have released log4cplus 1.2.1-RC1. It is a bugs fixing release.

  • Fixed GitHub bug #205. Fixed AsyncAppender shutdown crash.

  • Fixed GitHub bug #195. Check if queue thread pointer is not NULL and if it is running before trying to join it.

  • Fixed GitHub bug #136. Adjust weekly, daily and twice daily rollover time for DailyRollingFileAppender by time zone offset so that the rollover happens at midnight, etc., of local time instead of UTC time.... read more

Posted by Václav Haisman 2017-01-29 Labels: v1.2.1-rc1 release

log4cplus 1.1.3-RC7 released

I have release log4cplus 1.1.3-RC7. It is a bugs fixing release:

  • Fixed SF#322. -- C++11 construct that should not be present.

  • Fixed FreeAddrInfoA and FreeAddrInfoW not found. -- This required bump to minimal version to Windows XP SP2.

  • Fixed missing thread's alternative name. -- GitHub bug #137.... read more

Posted by Václav Haisman 2016-08-05 Labels: release v1.1.3-rc7

log4cplus 1.2.0 released

I have released log4cplus 1.2.0. The changes from the last release candidate are minimal:

  • Fixed SourceForge bug #324, MinGW compilation issue. Use InterlockedExchangeAdd instead of InterlockedAdd. The former is supported by older MinGW.

  • Fixed GitHub bug #137. Fix missing thread's alternative name.

Posted by Václav Haisman 2016-01-16 Labels: v1.2.0 release

log4cplus 1.2.0-RC6 released

I have released log4cplus 1.2.0-RC6:

  • Fixed Visual Studio build issue #322 related to WinSock functions being used and second about C++11 syntax. This forces minimum version of Windows supported by this release to Windows XP SP2.

  • Added DatePattern property to DailyRollingFileAppender configuration -- This property specifies filename suffix pattern to use for periodical backups of the logfile. (Alexey Morozov)... read more

Posted by Václav Haisman 2016-01-02 Labels: v1.2.0-rc6

log4cplus 1.2.0-RC5 released

I have released log4cplus 1.2.0-RC5:

  • Various scripts and documentation cleanups.

  • Fix sockets and memory leak in loggingserver discussed in GitHub issue #112.

  • CMake improvements.

Posted by Václav Haisman 2015-11-10 Labels: rc v1.2.0-rc5

log4cplus 1.1.3-RC6 released

I have released log4cplus 1.1.3-RC6

  • Fixed GitHub issue #112 - sockets and memory leak in loggingserver.
Posted by Václav Haisman 2015-11-10 Labels: rc v1.1.3-rc6

log4cplus 1.2.0-RC4 released

I have released log4cplus 1.2.0-RC4.

  • Fixed init_priority GCC attribute detection and use issue.

  • Fixed "most vexing parse" issue with LOG4CPLUS_C_STR_TO_TSTRING(STRING) when STRING is an identifier.`

  • Fixed AcceptOnMatch property function in filters default to true value.

  • Fixed GitHub bug #92. DailyRollingFileAppender rollover time was drifting.... read more

Posted by Václav Haisman 2015-08-02 Labels: rc v1.2.0-rc4

log4cplus 1.1.3-RC5 released

I have released log4cplus 1.1.3-RC5:

  • Fixed "most vexing parse" issue when using LOG4CPLUS_C_STR_TO_TSTRING().

  • Fixed AcceptOnMatch property function in filters default to true value.

  • Fixed GitHub bug #92. DailyRollingFileAppender rollover time was drifting.

  • Added LOG4CPLUS_ENABLE_DECORATED_LIBRARY_NAME option to CMake builds to produce log4cplus library without Unicode and/or static library decoration.

Posted by Václav Haisman 2015-08-02 Labels: rc v1.1.3-rc5

log4cplus 1.1.3-RC4 released

I have released log4cplus 1.1.3-RC4:

  • Allow negative maximal length in pattern specifier to make trimming of end instead of beginning possible. E.g., allow %.-1p to get initial letters of log level.

  • Visual Studio DLL builds now have a resource with basic information about the library. (Oskari Timperi)

  • LOG4CPLUS_*_FMT() macros can now be invoked with just formatting string, without additional arguments. (Zhang Shengfa)... read more

Posted by Václav Haisman 2015-01-04 Labels: v1.1.3-rc4 rc

log4cplus 1.2.0-RC3 released

I have just released log4cplus 1.2.0-RC3:

  • Fixed various issues related to unspecified behaviors which manifested when log4cplus was compiled using Clang.

  • SysLogAppender now recognize SyslogHost property as synonym for host property.

  • Improved compatibility of TTCCLayout with log4j's. Added ThreadPrinting, CategoryPrefixing and ContextPrinting configuration properties.... read more

Posted by Václav Haisman 2015-01-04 Labels: v1.2.0-rc3 rc

log4cplus 1.2.0-RC2 released

I have released log4cplus 1.2.0-RC2. It contains only a small amount of changes relative to the previous 1.2.0-RC1 release:

  • Fixed bug #298. -- int to pointer cast error on Xcode 5.1.

  • Updated android/android.toolchain.cmake.

  • Documented issue and work-around for Android's emutls issue.

  • Do not set SOVERSION and VERSION properties for CMake based Android builds.

Posted by Václav Haisman 2014-06-12 Labels: v1.2.0-rc2 rc

log4cplus 1.2.0-RC1 released

I have released log4cplus 1.2.0-RC1. It is based on new 1.2.x branch. There are many visible and less visible changes relative to the code of 1.1.x branch. Here are some highlights:

  • TraceLogger and associated LOG4CPLUS_TRACE_*() macros now record function name in generated event.... read more
Posted by Václav Haisman 2014-03-19 Labels: v1.2.0-rc1 rc

log4cplus 1.1.3-RC2 released

I have released log4cplus 1.1.3-RC2. It contains only few changes:

  • Fixed bug #295 - infinite loop when underlying *printf() function returned EILSEQ.

  • Use PROJECT_SOURCE_DIR variable instead of CMAKE_SOURCE_DIR to allow using log4cplus as sub-project of another CMake project.

Posted by Václav Haisman 2014-03-19 Labels: v1.1.3-rc2 rc

source code hosting has moved to Github

I have decided to migrate log4cplus source code hosting to Git on Github. The repository is at https://github.com/log4cplus/log4cplus. Bug tracker, etc., stays on SourceForge.

Why? Bazaar development is pretty much dead and SourceForge is not supporting it any more. Log4cplus can survive a bit longer with Bazaar on Launchpad but there are other things to consider:

  • Git seems to have won the DVCS wars, at least for next few years. Migrations to Git seem to be happening quite a lot while migrations from Git seem to be rare.... read more
Posted by Václav Haisman 2014-01-14 Labels: git github source

log4cplus 1.1.3-RC1 released

I have released log4cplus 1.1.3-RC1. There are mainly portability fixes related to MinGW, iOS, Android and CMake:

  • Added --enable-symbols-visibility-options to configure script to allow turning off use of compiler and platform specific symbols visibility options.

  • Added ENABLE_SYMBOLS_VISIBILITY setting for CMake build system to the same effect as above.

  • Disabled LOG4CPLUS_INLINES_ARE_EXPORTED to fix linking issues on MinGW GCC 4.8.x.... read more

Posted by Václav Haisman 2013-12-31 Labels: v1.1.3-rc1 rc

log4cplus 1.1.2 released

I have released log4cplus 1.1.2. There are only few changes since 1.1.2-RC3:

  • Added AbstractSocket::shutdown().
  • Added missing documentation of MDC pattern layout converter.
  • Fixed bug #278 - TLS key leak.
  • Implemented %E{ENVVAR} pattern layout formatter for expansion of environment variables.
Posted by Václav Haisman 2013-10-22

log4cplus web pages have moved

I have moved the content of log4cplus.sourceforge.net web pages to log4cplus's wiki on SourceForge.

Posted by Václav Haisman 2013-09-30

log4cplus 1.1.2-RC3 released

I have just released log4cplus 1.1.2-RC3. It contains mainly portability fixes:

  • Fixed build issues on HP-UX with aCC.
  • Fixed build issues on Haiku.
  • Added mingw-log4cplus.spec to allow cross-compilation from Fedora. (John Smits)
  • Fixed build issues on AIX with XLC.
  • Fixed build issues related to Microsoft's foo_s() functions with some version of MinGW tool-chain.
  • Tiny speedup of getFormattedTime().
  • Imported newer android/android.toolchain.cmake from OpenCV repository.
Posted by Václav Haisman 2013-09-29 Labels: v1.1.2-rc3 rc

moving source code hosting to Launchpad.net

As SourceForge is not going to support Bazaar anymore, I have decided to move log4cplus source code hosting from SourceForge to Launchpad.net. I have decided to stick with Bazaar for some more time instead of moving to Github because it simply requires less effort than having to start using Git and Github. I am moving only the source code repository. Everything else (bug tracker, pages, etc.) stays on SourceForge.

Posted by Václav Haisman 2013-07-15

log4cplus trunk mirror on Github

Per popular request, I have set up a mirror of log4cplus trunk on Github.

The mirror is updated hourly by a cron job on my box, so it should be fairly up to date. At this point, the mirror is one way only, from SourceForge to Github.

Posted by Václav Haisman 2013-07-04 Labels: github mirror

log4cplus 1.1.2-RC2 released

  • Fixed crash of DLL builds on Windows when _WIN32_WINNT>=0x0600.
  • Roll log file both before and after append to avoid logging into stale file when the log file has already been rolled by another logging process.
  • Known issue: Logging into a single log file from multiple processes on Windows breaks the rolling of the log files because open files cannot be renamed.
  • Fixed bug #166 - Close appender only once even when it is used by multiple loggers.
Posted by Václav Haisman 2013-07-03 Labels: v1.1.2-rc2 rc