From 4311b9a2f14ee411ec3dc8b050f8efa25afa0bc5 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 15 Aug 2018 23:50:41 +0200 Subject: usyslogd: create abstraction for log stream management This commit seperates the formating and printing of log messages to files more cleanly from the message pump that retrieves the log messages. At a later point, other backends could be added more easiyl (e.g. forward the log message to some server). Signed-off-by: David Oberhollenzer --- syslogd/Makemodule.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syslogd/Makemodule.am') diff --git a/syslogd/Makemodule.am b/syslogd/Makemodule.am index 9e5378d..d954769 100644 --- a/syslogd/Makemodule.am +++ b/syslogd/Makemodule.am @@ -1,5 +1,5 @@ usyslogd_SOURCES = syslogd/main.c -usyslogd_SOURCES += syslogd/logfile.c syslogd/logfile.h +usyslogd_SOURCES += syslogd/logfile.c syslogd/backend.h usyslogd_SOURCES += syslogd/proto.c syslogd/proto.h usyslogd_CPPFLAGS = $(AM_CPPFLAGS) usyslogd_CFLAGS = $(AM_CFLAGS) -- cgit v1.2.3