|
Greg Black |
liblogThe liblog library provides an alternative to syslog(3) for daemons that prefer to log to standard error (for collection by multilog or logger(1) as required), with optional console logging for emergencies. It uses reasonable defaults which can be checked and altered by application programs. It provides for logging of printf(3) format strings, with some functions adding system error strings; each function has an alternate that exits with a selected exit value in a way that does not interfere with functions registered with atexit(3). The library is not code-compatible with syslog(3), so it's not a drop-in replacement. However, from experience, converting a daemon from syslog(3) to liblog is trivial. There are no man pages or other formal documentation for liblog at this time. The source is adequately documented and there is an example test program that can be studied. Please consider joining the very low volume gjb-announce@gbch.net mailing list so that you will be informed of updates and bug fixes. Important NoteThis is beta software. It lacks full documentation and has no automatic configuration for various operating systems. It's known to work on BSD systems and should be easy to install on other Unix-style systems. If you experience problems, please try to fix them and then let me know what you had to do. If you can't manage on your own, you may ask me for assistance, but I make no promises of help. Download the current version: liblog-1.02.01.tar.gz.
Copyright © 2001 Greg Black -- All Rights Reserved |
|
Back to top |