log4cplus Changelog

What's new in log4cplus 1.2.0 RC 2

Jun 13, 2014
  • 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.

New in log4cplus 1.1.2 (Mar 28, 2014)

  • 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 environmentvariables.

New in log4cplus 1.1.2 RC 3 (Sep 30, 2013)

  • 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.

New in log4cplus 1.1.2 RC 2 (Jul 4, 2013)

  • 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 lose appender only once even when it is used by multiple loggers.

New in log4cplus 1.1.2 RC 1 (May 30, 2013)

  • Fixed bug #163 - Initialization issue.
  • Added --enable-so-version and --enable-release-version configure script options to allow production of undecorated binaries.

New in log4cplus 1.1.0 RC 10 (Sep 18, 2012)

  • Fixed non-STLPort4 builds with Solaris Studio. Switch
  • '-library=stlport4' is only added if CXXFLAGS does not already
  • contain a switch matching -library=(stlport4|stdcxx4|Cstd).
  • Fixed --disable-shared MinGW builds.
  • Fixed non-working MinGW DLL binaries. DllMain() was not being called
  • because of missing extern "C" in its definition.
  • CMake build configuration checks have been improved. (Chernyshev
  • Vyacheslav)
  • GCC switch -O2 is only added if CXXFLAGS does not already contain
  • any other -O.
  • Improved logging speed using SysLogAppender and Log4jUdpAppender by
  • optimizations in both the loggers and in common sockets code.
  • FileAppender locale can now be specified in properties files using
  • Locale property. See FileAppender Doxygen documentation for more
  • details.

New in log4cplus 1.1.0 RC 9 (Sep 8, 2012)

  • Improved Log4jUdpAppender compatibility with Chainsaw.
  • Fixed crash, bugs #3467112 and #3563699, related to thread-local
  • storage destruction.
  • Fixed build with Visual Studio 2005, bug #3565529. (xg00)
  • Created Cygwin port's .cygport definition for log4cplus.
  • Improved hiding of private symbols using GCC's
  • __attribute__((visibility("hidden"))) and Solaris Studio's __hidden.
  • Fixed build in environments where DEBUG (and other log level names)
  • are macros. (Chernyshev Vyacheslav)
  • Improved configuration of threads support. (Jens Rehsack)

New in log4cplus 1.1.0 RC 8 (Aug 30, 2012)

  • Turned on __thread (TLS) detection on NetBSD 5.1.0 and later that
  • has been previously disabled.
  • Improved compatibility with log4cplus 1.0.x: allow using log4cplus
  • 1.0.x log level to string callbacks in 1.1.x.
  • Improved various M4 macros.
  • Added detection and use C++11 thread_local.
  • Fixed XML entities escaping in Log4jUdpAppender.
  • Re-added synchronization between ConsoleAppender and LogLog.
  • Changed C logger API to return int instead of bool.
  • Added C logger API to Visual Studio 2010 projects.
  • Implemented remote syslog logging using UDP in SysLogAppender.
  • Enabled SysLogAppender on Windows with only remote syslog logging
  • enabled.

New in log4cplus 1.1.0 RC 7 (Aug 1, 2012)

  • Bumped up SO version for UDP sockets support related changes.
  • Removed Windows CE support.
  • Regenerated with Automake 1.12.2.
  • Fixed Fedora RPM builds spec file.
  • Implemented log4cplus.disableOverride similar to log4j's
  • log4j.disableOverride.
  • Improved support of profiling and debugging builds with Sun CC.
  • Added documentation for configure script options.
  • Added detection and use of clock_nanosleep().
  • Disabled __thread (TLS) detection for NetBSD. It is broken there.
  • New appender: Log4jUdpAppender. It allows logging using UDP with
  • log4j XML payload to Chainsaw or Log2Console. (Siva Chandran P)
  • Added support for __func__ as function name source for logging
  • events.

New in log4cplus 1.1.0 RC 6 (Jul 4, 2012)

  • Fixed compilation for build with wchar_t being alias to unsigned
  • short (/Zc:wchar_t-) (Windows).
  • Added new appender CLFSAppender (experimental), based on Microsoft
  • Common Log File System API.
  • Added new appender Qt4DebugAppender (experimenta), based on Qt4's
  • qDebug(), qWarning() and qCritical() functions.
  • Fixed bug #3530769 compilation issues with Visual Studio 2011.
  • Added log4cplus.quietMode property handling to PropertyConfigurator.
  • Added #pragma once to all headers.
  • Implemented Time::gettimeofday() using Win32 API's
  • GetSystemTimeAsFileTime().
  • Moved file based locking from FileAppender to Appender to make it
  • available for all appenders.
  • Changed Windows configuration to use __declspec(thread) when
  • compiling for Windows Vista or later and TlsAlloc() otherwise.
  • Implemented %r PatternLayout format specifier miliseconds since
  • process start.
  • Fixed bug #3101459 TTCCLayout time is not in milliseconds since
  • process start by default.

New in log4cplus 1.1.0 RC 2 (Mar 19, 2012)

  • CMake build system fixes.
  • Fixed TTCCLayout double time stamp issue.

New in log4cplus 1.1.0 RC 1 (Mar 12, 2012)

  • Added AsyncAppender.
  • Added simple C interface for interoperability with C.
  • Added inter-process file locking to file appenders to allow logging
  • into a single log file from multiple processes.
  • Added Mapped Diagnostic Context (MDC) and associated converter (%X).
  • Added alternative thread identification (%T) converter to pattern layout.
  • Added function name converter (%M).
  • Added wchar_t char conversion implementations based on standard
  • C locale functions and based on iconv().
  • Added DeviceAppender to allow use of Boost.IOStream's Sink as appender.
  • Added LOG4CPLUS_*_FMT() macros to allow printf-like formatted output
  • where it is possible.

New in log4cplus 1.0.4.1 RC 1 (Feb 28, 2012)

  • Fixed use of uninitialized member in ConfigurationWatchDogThread.
  • Updated libtool to 2.4; updated configure macros.
  • Improved resource and error handling in NTEventLogAppender and
  • Win32 sockets code.
  • Fixed issue with function-try-catch blocks in dtors.

New in log4cplus 1.0.4 RC10 (Jul 19, 2010)

  • Tweaked Doxygen docs in comments for more recent Doxygen versions.
  • Fix bug #2632087. Reworked WinSock initialization to fix deadlock in WSAStartup() on Windows Vista.
  • Fixed excessive errors reported in RollingFileAppender when renaming non-existing files.
  • Fall back to DAILY schedule in DailyRollingFileAppender for invalid sche

New in log4cplus 1.0.4 RC9 (Jun 4, 2010)

  • Always handle %s time format specifier (seconds since epoch) in
  • log4cplus. Detect and use clock_gettime() when available.
  • Fixed compilation on OpenSolaris with Sun C++.
  • Fixed compilation on OpenBSD.

New in log4cplus 1.0.4 RC8 (May 31, 2010)

  • Always handle %s time format specifier (seconds since epoch) in
  • log4cplus. Detect and use clock_gettime() when available.
  • Fixed compilation on OpenSolaris with Sun C++.
  • Fixed compilation on OpenBSD.
  • Fixed use of operator delete/delete[] in FileAppender (Patch
  • #3005234).
  • Updated config.guess and config.sub to latest Git repository
  • versions.
  • Added BufferSize property to FileAppender to allow control of the
  • appender's output buffer.
  • Removed -fkeep-inline-functions from GCC flags for non-debugging
  • build.

New in log4cplus 1.0.4 RC7 (Mar 24, 2010)

  • Fixed thread safety issues with gethostbyname() by using
  • getaddrinfo() instead, where available.
  • Fixed bug #2965390 - Minor internal debugging output issue.
  • Added --enable-warnings (--disable-warnings) switches to the
  • configure script.
  • Added ReopenDelay property to FileAppender, allowing the appender
  • to reopen output stream after write failure. (Patch #2971315)

New in log4cplus 1.0.4 RC6 (Mar 4, 2010)

  • Fixed bug #2945335 - MinGW/MSYS build problems. For Windows builds
  • the source now defaults to static librar/empty LOG4CPLUS_EXPORT
  • macro.
  • Fixed a security problem in SyslogAppender.
  • Fixed bug #2955058 - Looping over properties during variables
  • expansion.
  • Added missing dependency on log4cplus_dll project to filter_test
  • project.
  • Added a constructor with Properties parameter to DenyAllFilter.
  • Reworked Layout, Appender and Filter factories registration.

New in log4cplus 1.0.3 RC9 (Mar 30, 2009)

  • Tweaked Doxygen docs in comments for more recent Doxygen versions.
  • Fix bug #2632087. Reworked WinSock initialization to fix deadlock in WSAStartup() on Windows Vista.
  • Fixed excessive errors reported in RollingFileAppender when renaming non-existing files.
  • Fall back to DAILY schedule in DailyRollingFileAppender for invalid schedule specification.
  • Added Debug_Unicode and Release_Unicode targets to MSVC8 test cases builds.

New in log4cplus 1.0.3 RC7 (Feb 3, 2009)

  • Fix Bug #894464. Really only consider prefixes when searching for matching properties.
  • Fix compilation for combination of non-threaded and UNICODE settings.

New in log4cplus 1.0.3 RC6 (Jan 19, 2009)

  • Reconfiguring a logger does not remove old appenders.
  • Changed log4cplus thread helpers to block all signals on POSIX platforms to enable their handling in a dedicated thread. (See README, chapter Notes for explanation.)
  • Changed thread creation from using CreateThread() to using _beginthreadex() to avoid leaking C and C++ runtime memory.
  • Fixed convertIntegerToString() to for negative numbers.
  • Fixed wrong name used in BasicConfigurator for the ConsoleAppender.

New in log4cplus 1.0.3 RC5 (Jan 19, 2009)

  • Add CMakeLists.txt to facilitate compilation of log4cplus on Windows with different compilers than just the MSVC8.
  • Fix compilation of Unicode enabled build without working locale.

New in log4cplus 1.0.3 RC4 (Dec 12, 2008)

  • IMPORTANT: log4cplus shared library version has been bumped to 3. The interfaces have slightly changed and 1.0.3 is not binary compatible with 1.0.2.
  • Fix more MSVC compilation problems.
  • Changed log4cplus_static.vcproj to link with DLL C/C++ run time (MSVCR80.dll and MSVCP80.dll).
  • Implemented environment variables shadowing by properties and recursive properties expansion.
  • Reworked output directories layout of MSVC8 project. Now it produces directories of the form "log4cplus_{static,dll}.{Release,Debug}{_Unicode,}" and "loggingserver.{Release,Debug}{_Unicode,}". The tests directory projects still only compile using non-Unicode release and debug version of the library.
  • For single-threaded builds, re-use single tostringstream instead of using a new one for each LOG4CPLUS_DEBUG() etc. macros.
  • Merge Win32DebugAppender from trunk. (Patches #834925 and #858128)
  • Make configuration of local server for NTEventLogAppender easier by allowing empty server parameter string. (Feature Request #875935)

New in log4cplus 1.0.3 RC3 (Nov 15, 2008)

  • Fix Bug #2268760 - Trailing garbage in strings produced by Time::getFormattedTime().
  • Fixed compilation of MSVC builds.

New in log4cplus 1.0.3 RC2 (Nov 15, 2008)

  • Fix Bug #2106949 - Compilation problem with Borland's compiler.
  • Fix Bug #1717320, #1040902, #1040676 - strftime() complains aboutour custom %q and %Q format specifiers with "Invalid formatdirective".
  • Removed safe_auto_ptr.
  • Added --enable-debugging switch to configure script. It disablesoptimization and turns on debugging info generation.
  • Use locale and its codecvt facet in towstring()/tostring()implementations when --with-working-locale is defined.
  • Added support for GCC's -fvisibility=hidden flag where availabletogether with __attribute__ ((visibility("default"))).

New in log4cplus 1.0.3 RC1 (Nov 15, 2008)

  • Fixed various compilation issues with MSVC8.
  • Added MSVC8 project files.
  • Fixed compilation with GCC 4.3.
  • Fixed autoconf/automake build machinery so that it is possible tobuild log4cplus in separate directory.
  • Updated used autoconf and automake to version 2.62 and 1.10respectively.
  • Enabled DLL building on Cygwin.
  • Fixed Bug #894623, #1178841 - Various compilation issues onCygwin.
  • Fixed Bug #2017876 - Destruction synchronization issue.
  • Fixed Bug #1831238 - Unintentional sign extension in char ->wchar_t conversion.
  • Fixed Bug #1548998 - config.h is exporting symbols that conflictwith other applications/libraries.
  • Fixed Bug #898646 - Ambiguity between ::yield() andthread::yeild() on Solaris.
  • Fixed Bug #954455 - LOG4CPLUS_ macros semicolon problem.