summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2014-09-05 15:16:34 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2014-09-08 11:34:51 +0200
commit072fb03fa47b18dd6cdd3b5c764d59e06fc5815e (patch)
tree7e929faef119453ff2ea9d5f8d55efccbfc5a453
parent658c4d76e2aff9441614dcd09821057b9fd8c8c2 (diff)
downloadvd_agent-072fb03fa47b18dd6cdd3b5c764d59e06fc5815e.tar.gz
vd_agent-072fb03fa47b18dd6cdd3b5c764d59e06fc5815e.tar.xz
vd_agent-072fb03fa47b18dd6cdd3b5c764d59e06fc5815e.zip
data: remove rsyslog config files
Many systems don't use rsyslog, others don't need seperate syslog files for vdagent. With systemd journal, It's possible to filter spice-vdagent/spice-vdagentd log messages out of /var/log/messages: journalctl SYSLOG_IDENTIFIER=spice-vdagent SLOG_IDENTIFIER=spice-vdagentd This simplify spice-vdagent packaging and updates, since there are no config files to deal with. Related: https://bugzilla.redhat.com/show_bug.cgi?id=1136881
-rw-r--r--Makefile.am4
-rw-r--r--data/rsyslog.d/spice-vdagentd.conf4
2 files changed, 0 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am
index 7fae742..510f460 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -51,9 +51,6 @@ gdmautostart2_DATA = $(top_srcdir)/data/spice-vdagent.desktop
install-data-local:
$(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd
-rsyslogdir = $(sysconfdir)/rsyslog.d
-rsyslog_DATA = $(top_srcdir)/data/rsyslog.d/spice-vdagentd.conf
-
if INIT_SCRIPT_RED_HAT
initdir = $(sysconfdir)/rc.d/init.d
init_SCRIPTS = $(top_srcdir)/data/spice-vdagentd
@@ -79,7 +76,6 @@ manpage_DATA = data/spice-vdagent.1 \
EXTRA_DIST = \
README.RHEL-5 \
data/70-spice-vdagentd.rules \
- data/rsyslog.d/spice-vdagentd.conf \
data/spice-vdagent.desktop \
data/spice-vdagentd \
data/spice-vdagentd.service \
diff --git a/data/rsyslog.d/spice-vdagentd.conf b/data/rsyslog.d/spice-vdagentd.conf
deleted file mode 100644
index 2437ba0..0000000
--- a/data/rsyslog.d/spice-vdagentd.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-# A template to for higher precision timestamps + severity logging
-$template SpiceTmpl,"%TIMESTAMP%.%TIMESTAMP:::date-subseconds% %syslogtag% %syslogseverity-text%:%msg:::sp-if-no-1st-sp%%msg:::drop-last-lf%\n"
-
-:programname, startswith, "spice-vdagent" /var/log/spice-vdagent.log;SpiceTmpl