ijustlovemath / syslog-alt

A simple project to replicate the basic functionality of syslog(3)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The goal of this project is to create the backend library and corresponding daemon for a simple syslog-like interface.

Requirements

  1. There should be a shared library for implementing the interface, and a daemon which handles the logging.

  2. The C API of this library should exactly match the normal syslog found on Linux systems.

  3. The syslog should support multiple simultaneous writers without interleaving.

  4. The daemon that handles syslog requests should default to logging to "/tmp/alt-syslog.log", which can be overridden with a -f /path/to/log location. Insufficient access to create this log should be detected, and the daemon should fail to start if this isn't available.

About

A simple project to replicate the basic functionality of syslog(3)


Languages

Language:CMake 68.6%Language:C 31.4%