From db55940d9e9fd502b17522d011dfd941e3f69c5d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 20 Jul 2015 01:39:48 +0200 Subject: Support systemd log severity prefixes This is mostly useful for hydra-queue-runner. --- src/libutil/util.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libutil/util.hh') diff --git a/src/libutil/util.hh b/src/libutil/util.hh index 980cdf4cb7..b2fb59d6f2 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -122,7 +122,8 @@ T singleton(const A & a) typedef enum { ltPretty, /* nice, nested output */ ltEscapes, /* nesting indicated using escape codes (for log2xml) */ - ltFlat /* no nesting */ + ltFlat, /* no nesting */ + ltSystemd, /* use systemd severity prefixes */ } LogType; extern LogType logType; -- cgit 1.4.1