Projects / zlog logging library

zlog logging library

zlog is a reliable, efficient, thread safe, flexible, pure C logging library. It was written because there were no good C logging libraries along the lines of Logback for Java or log4cxx for C++. printf can work, but can not be easily redirected or reformatted, and syslog is slow and designed for system use. It provides a syslog model, log format customization, multiple output, safe run-time reconfiguration, high performance, user-defined log levels, safe log rotation, a log4j-style key-value map, in-built debugging, and no external dependencies.

Tags
Licenses
Operating Systems
Implementation
Translations

Recent releases

  •  25 Sep 2013 12:37

    Release Notes: A segmentation fault was fixed. The static file rule was changed to emulate Python's WatchedFileHandler mode when used with external log rotation.

    •  07 Feb 2013 13:00

      Release Notes: This is a bugfix release. The English manual has been revised by a generous anonymous user.

      •  03 Jan 2013 10:08

        Release Notes: The param list is now automatically validated when using GCC. A small bug was fixed. Comments are now allowed inside the configure line.

        •  15 Nov 2012 12:04

          Release Notes: Bugfixes, speed-ups, and reduced memory usage. Caches every time string for rarely called strftime. Releases a thread's message buf at pthread_exit(). Fixes the makefile for zlog-chk-conf on some OSs.

          •  30 Sep 2012 00:24

            Release Notes: This is a bugfix version for 1.2. strftime is the slow part of logging on POSIX systems; a search is in progress for another method.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.