ANSI C functions and macros for flexible logging to files and other destinations.
It is modeled after the Log for Java library (http://www.log4j.org), staying as close to their API as is reasonable.
Intended for use in time-space critical environments

Project Activity

See All Activity >

Categories

Logging

License

GNU Library or Lesser General Public License version 2.0 (LGPLv2)

Follow Logging Framework for C

Logging Framework for C Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
2
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • I am new to log4c. Could someone explain how can i use log4c to write logs to a log server? Thanks on advance.
  • /* user of version 1.2.{0,1}, in C project on Linux */ Log4c is fine for small project that can afford having configuration files. For larger project with a lot of processes it quickly becomes a pain to maintain thoses configuration files. And on-the-fly configuration was a pain with log4c I was disappointed by: * the use of mutexes in the logging handler, causing deadlocks when calling a logging function in a signal handler. * the strange behavior when overriding a category's logger (message dupplication). * the end-of-support and the no-answer received for support requests. * the removal of log4c from some big and official Linux distribution (i.e. Fedora Core 17) I found really easier to use the Gnome Library (GLib2.0) internal logging support. Now is my life easier, happier.
  • log4c is out of date, try zlog! http:[[hardysimpson.github.com/zlog
Read more reviews >

Additional Project Details

Operating Systems

FreeBSD, HP-UX, IBM AIX, Linux, Mac, Solaris, Windows

Languages

English

Intended Audience

Developers

Programming Language

C

Related Categories

C Logging Software

Registered

2001-10-25