]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
rasdaemon: logging via syslog enabled
authorPetr Holasek <pholasek@redhat.com>
Mon, 8 Apr 2013 17:59:14 +0000 (19:59 +0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 8 Apr 2013 22:45:51 +0000 (19:45 -0300)
commit79abfdf0d8545dd6c33301484e9f47c8439d2522
treec50aa42c1f278cd4f0ab48474fbfd6974828bd1f
parent279a43fe6abac1f8ab3dbc71f62ce647545abe5f
rasdaemon: logging via syslog enabled

Patch adds simple (so far) code for customizing of logging levels
and possible outputs. Macro log(..) were introduced and should be
called in all places where rasdaemon could send some output either
to console or syslog.

Systemd unit file was added, so systemd will guarantee that daemon
will be restarted immediately after stop or killing.

Signed-off-by: Petr Holasek <pholasek@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Makefile.am
misc/rasdaemon.service [new file with mode: 0644]
ras-logger.h [new file with mode: 0644]
ras-mc-event.c
ras-record.c
rasdaemon.c