What is Log4g?
Log4g is a C-programming library built on top of the GLib/GObject programming stack. The purpose of Log4g is to provide a flexible logging API. Log4g started as a direct port of the popular Java logging package Log4j, however the goal of this project is to provide a library that is appropriate in the context of GLib/GObject development.
Recent News
Log4g 0.1.2 preview release
November 4, 2010
This release adds support for CouchDB in addition to many internal changes.
Release Notes:
- Implemented a module loading system for appenders, layouts and filters
- The DOM configurator now uses type names to load appenders, layouts and filters (XML configuration files will need to be updated)
- Added a CouchDB appender & layout
- Documented the entire project with GTK-Doc
- Fixed many bugs
Get it from the download page.
Log4g 0.1.1 preview release
May 9, 2010
This is the second developer preview release of Log4g. Many bugs have been fixed for this release.
Highlights include:
- DOM configurator now works for all appenders
- The local syslog appender now works correctly
Get it from the download page.
Log4g 0.1 preview release
March 19, 2010
This is a developer preview release. The basic Log4j functionality is complete and the package is already very usable.
Highlights include:
- Autotools build system
- Fully functional DOM configuration
- Many appender classes (asynchronous, rolling file and many more)
- Internal filtering rules as well as user-defined filter support
- Fully functional pattern layout class (and many other layouts)
Get it from the download page.
Announcing the Log4g project
March 18, 2010
This project was started with the intent of learning about the GLib/GObject APIs (and indirectly some Java) by porting Log4j classes directly to GObject classes. The result of that initial development is now hosted on GitHub with the hope that it may be useful to somebody else. Enjoy!