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.

Operating Systems

RSS Recent releases

  •  26 Sep 2013 01:04

    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.

    •  08 Feb 2013 01:14

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

      •  05 Jan 2013 09:09

        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 22:03

          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 16:18

            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.


            Project Spotlight


            A membership management system.


            Project Spotlight


            Multi-platform file tagging and organizing.