diff options
author | Sami Kerola | 2014-02-21 20:25:30 +0100 |
---|---|---|
committer | Karel Zak | 2014-03-04 13:44:21 +0100 |
commit | 4b670c01dff7e5106d924a1267c23961b6926b6f (patch) | |
tree | 42d62bfb27695ee725571add9c5750d917bd6208 /misc-utils/Makemodule.am | |
parent | hexdump: color unit may now be longer than the corresponding format unit (diff) | |
download | kernel-qcow2-util-linux-4b670c01dff7e5106d924a1267c23961b6926b6f.tar.gz kernel-qcow2-util-linux-4b670c01dff7e5106d924a1267c23961b6926b6f.tar.xz kernel-qcow2-util-linux-4b670c01dff7e5106d924a1267c23961b6926b6f.zip |
logger: allow user to send structured journald messages
This feature is hopefully mostly used to give MESSAGE_ID labels for
messages coming from scripts, making search of messages easy. The
logger(1) manual page update should give enough information how to use
--journald option.
[kzak@redhat.com: - add missing #ifdefs
- use xalloc.h]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/Makemodule.am')
-rw-r--r-- | misc-utils/Makemodule.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/misc-utils/Makemodule.am b/misc-utils/Makemodule.am index d30229d5f..05407de9b 100644 --- a/misc-utils/Makemodule.am +++ b/misc-utils/Makemodule.am @@ -20,6 +20,10 @@ endif usrbin_exec_PROGRAMS += logger dist_man_MANS += misc-utils/logger.1 logger_SOURCES = misc-utils/logger.c lib/strutils.c +if HAVE_JOURNALD +logger_LDADD = $(SYSTEMD_JOURNAL_LIBS) +logger_CFLAGS = $(SYSTEMD_JOURNAL_CFLAGS) +endif usrbin_exec_PROGRAMS += look dist_man_MANS += misc-utils/look.1 |