summaryrefslogtreecommitdiffstats
path: root/tests/expected/logger
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:30:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:30:35 +0000
commit378c18e5f024ac5a8aef4cb40d7c9aa9633d144c (patch)
tree44dfb6ca500d32cabd450649b322a42e70a30683 /tests/expected/logger
parentInitial commit. (diff)
downloadutil-linux-378c18e5f024ac5a8aef4cb40d7c9aa9633d144c.tar.xz
util-linux-378c18e5f024ac5a8aef4cb40d7c9aa9633d144c.zip
Adding upstream version 2.38.1.upstream/2.38.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/expected/logger')
-rw-r--r--tests/expected/logger/errors-check_socket41
-rw-r--r--tests/expected/logger/errors-check_socket.err0
-rw-r--r--tests/expected/logger/errors-id_with_space5
-rw-r--r--tests/expected/logger/errors-id_with_space.err5
-rw-r--r--tests/expected/logger/errors-invalid_prio1
-rw-r--r--tests/expected/logger/errors-invalid_prio.err1
-rw-r--r--tests/expected/logger/errors-invalid_socket1
-rw-r--r--tests/expected/logger/errors-invalid_socket.err1
-rw-r--r--tests/expected/logger/errors-kern_priority1
-rw-r--r--tests/expected/logger/errors-kern_priority.err1
-rw-r--r--tests/expected/logger/errors-kern_priority_numeric1
-rw-r--r--tests/expected/logger/errors-kern_priority_numeric.err1
-rw-r--r--tests/expected/logger/errors-multi-line1
-rw-r--r--tests/expected/logger/errors-multi-line.err3
-rw-r--r--tests/expected/logger/errors-rfc5424_exceed_size1
-rw-r--r--tests/expected/logger/errors-rfc5424_exceed_size.err1
-rw-r--r--tests/expected/logger/errors-rfc5424_msgid_with_space1
-rw-r--r--tests/expected/logger/errors-rfc5424_msgid_with_space.err1
-rw-r--r--tests/expected/logger/errors-tag_with_space2
-rw-r--r--tests/expected/logger/errors-tag_with_space.err2
-rw-r--r--tests/expected/logger/errors-tcp1
-rw-r--r--tests/expected/logger/errors-tcp.err1
-rw-r--r--tests/expected/logger/formats-check_socket0
-rw-r--r--tests/expected/logger/formats-check_socket.err0
-rw-r--r--tests/expected/logger/formats-octet_counting0
-rw-r--r--tests/expected/logger/formats-octet_counting.err2
-rw-r--r--tests/expected/logger/formats-priorities0
-rw-r--r--tests/expected/logger/formats-priorities.err304
-rw-r--r--tests/expected/logger/formats-rfc31640
-rw-r--r--tests/expected/logger/formats-rfc3164.err2
-rw-r--r--tests/expected/logger/formats-rfc5424_msgid0
-rw-r--r--tests/expected/logger/formats-rfc5424_msgid.err2
-rw-r--r--tests/expected/logger/formats-rfc5424_nohost0
-rw-r--r--tests/expected/logger/formats-rfc5424_nohost.err2
-rw-r--r--tests/expected/logger/formats-rfc5424_notime0
-rw-r--r--tests/expected/logger/formats-rfc5424_notime.err2
-rw-r--r--tests/expected/logger/formats-rfc5424_simple0
-rw-r--r--tests/expected/logger/formats-rfc5424_simple.err2
-rw-r--r--tests/expected/logger/input_empty_line3
-rw-r--r--tests/expected/logger/input_prio_prefix1
-rw-r--r--tests/expected/logger/input_simple1
-rw-r--r--tests/expected/logger/journald0
-rw-r--r--tests/expected/logger/journald.err3
-rw-r--r--tests/expected/logger/options-check_socket0
-rw-r--r--tests/expected/logger/options-check_socket.err0
-rw-r--r--tests/expected/logger/options-input_file_empty_line0
-rw-r--r--tests/expected/logger/options-input_file_empty_line.err4
-rw-r--r--tests/expected/logger/options-input_file_prio_prefix0
-rw-r--r--tests/expected/logger/options-input_file_prio_prefix.err2
-rw-r--r--tests/expected/logger/options-input_file_simple0
-rw-r--r--tests/expected/logger/options-input_file_simple.err2
-rw-r--r--tests/expected/logger/options-input_file_skip_empty0
-rw-r--r--tests/expected/logger/options-input_file_skip_empty.err3
-rw-r--r--tests/expected/logger/options-log_pid0
-rw-r--r--tests/expected/logger/options-log_pid.err2
-rw-r--r--tests/expected/logger/options-log_pid_define0
-rw-r--r--tests/expected/logger/options-log_pid_define.err2
-rw-r--r--tests/expected/logger/options-log_pid_long0
-rw-r--r--tests/expected/logger/options-log_pid_long.err2
-rw-r--r--tests/expected/logger/options-log_pid_no_arg0
-rw-r--r--tests/expected/logger/options-log_pid_no_arg.err2
-rw-r--r--tests/expected/logger/options-simple0
-rw-r--r--tests/expected/logger/options-simple.err2
-rw-r--r--tests/expected/logger/options.err0
64 files changed, 418 insertions, 0 deletions
diff --git a/tests/expected/logger/errors-check_socket b/tests/expected/logger/errors-check_socket
new file mode 100644
index 0000000..bf02837
--- /dev/null
+++ b/tests/expected/logger/errors-check_socket
@@ -0,0 +1,41 @@
+Check written socket data of all subtests.
+socket data, kern_priority:
+<8>Feb 13 23:31:30 prio: message
+
+socket data, kern_priority_numeric:
+<8>Feb 13 23:31:30 prio: message
+
+socket data, invalid_prio:
+
+socket data, rfc5424_exceed_size:
+<13>1 2009-02-13T23:31:30.123456+00:00 test-hostname rfc5424_exceed_size - - [timeQuality tzKnown="1" isSynced="0"] abc
+
+socket data, id_with_space:
+
+socket data, id_with_space:
+
+socket data, id_with_space:
+
+socket data, id_with_space:
+<13>Feb 13 23:31:30 id_with_leading space[123]: message
+
+socket data, id_with_space:
+
+socket data, tag_with_space:
+<13>Feb 13 23:31:30 A B: tag_with_space
+
+socket data, tag_with_space:
+<13>1 2009-02-13T23:31:30.123456+00:00 test-hostname A B - - [timeQuality tzKnown="1" isSynced="0"] tag_with_space_rfc5424
+
+socket data, tcp:
+<13>Feb 13 23:31:30 tcp: message
+
+socket data, multi-line:
+<13>Feb 13 23:31:30 multi: AAA
+<13>Feb 13 23:31:30 multi: BBB
+<13>Feb 13 23:31:30 multi: CCC
+
+socket data, rfc5424_msgid_with_space:
+
+socket data, invalid_socket:
+
diff --git a/tests/expected/logger/errors-check_socket.err b/tests/expected/logger/errors-check_socket.err
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/errors-check_socket.err
diff --git a/tests/expected/logger/errors-id_with_space b/tests/expected/logger/errors-id_with_space
new file mode 100644
index 0000000..3a5a574
--- /dev/null
+++ b/tests/expected/logger/errors-id_with_space
@@ -0,0 +1,5 @@
+ret: 1
+ret: 1
+ret: 1
+ret: 0
+ret: 1
diff --git a/tests/expected/logger/errors-id_with_space.err b/tests/expected/logger/errors-id_with_space.err
new file mode 100644
index 0000000..23a3cbc
--- /dev/null
+++ b/tests/expected/logger/errors-id_with_space.err
@@ -0,0 +1,5 @@
+test_logger: failed to parse id: 'A B'
+test_logger: failed to parse id: 'A B'
+test_logger: failed to parse id: '1 23'
+<13>Feb 13 23:31:30 id_with_leading space[123]: message
+test_logger: failed to parse id: '123 '
diff --git a/tests/expected/logger/errors-invalid_prio b/tests/expected/logger/errors-invalid_prio
new file mode 100644
index 0000000..596150b
--- /dev/null
+++ b/tests/expected/logger/errors-invalid_prio
@@ -0,0 +1 @@
+ret: 1
diff --git a/tests/expected/logger/errors-invalid_prio.err b/tests/expected/logger/errors-invalid_prio.err
new file mode 100644
index 0000000..cf79cf3
--- /dev/null
+++ b/tests/expected/logger/errors-invalid_prio.err
@@ -0,0 +1 @@
+test_logger: unknown priority name: 8
diff --git a/tests/expected/logger/errors-invalid_socket b/tests/expected/logger/errors-invalid_socket
new file mode 100644
index 0000000..596150b
--- /dev/null
+++ b/tests/expected/logger/errors-invalid_socket
@@ -0,0 +1 @@
+ret: 1
diff --git a/tests/expected/logger/errors-invalid_socket.err b/tests/expected/logger/errors-invalid_socket.err
new file mode 100644
index 0000000..4a0421a
--- /dev/null
+++ b/tests/expected/logger/errors-invalid_socket.err
@@ -0,0 +1 @@
+test_logger: socket /bad/boy: No such file or directory
diff --git a/tests/expected/logger/errors-kern_priority b/tests/expected/logger/errors-kern_priority
new file mode 100644
index 0000000..0f2938d
--- /dev/null
+++ b/tests/expected/logger/errors-kern_priority
@@ -0,0 +1 @@
+ret: 0
diff --git a/tests/expected/logger/errors-kern_priority.err b/tests/expected/logger/errors-kern_priority.err
new file mode 100644
index 0000000..6656db0
--- /dev/null
+++ b/tests/expected/logger/errors-kern_priority.err
@@ -0,0 +1 @@
+<8>Feb 13 23:31:30 prio: message
diff --git a/tests/expected/logger/errors-kern_priority_numeric b/tests/expected/logger/errors-kern_priority_numeric
new file mode 100644
index 0000000..0f2938d
--- /dev/null
+++ b/tests/expected/logger/errors-kern_priority_numeric
@@ -0,0 +1 @@
+ret: 0
diff --git a/tests/expected/logger/errors-kern_priority_numeric.err b/tests/expected/logger/errors-kern_priority_numeric.err
new file mode 100644
index 0000000..6656db0
--- /dev/null
+++ b/tests/expected/logger/errors-kern_priority_numeric.err
@@ -0,0 +1 @@
+<8>Feb 13 23:31:30 prio: message
diff --git a/tests/expected/logger/errors-multi-line b/tests/expected/logger/errors-multi-line
new file mode 100644
index 0000000..0f2938d
--- /dev/null
+++ b/tests/expected/logger/errors-multi-line
@@ -0,0 +1 @@
+ret: 0
diff --git a/tests/expected/logger/errors-multi-line.err b/tests/expected/logger/errors-multi-line.err
new file mode 100644
index 0000000..d015bad
--- /dev/null
+++ b/tests/expected/logger/errors-multi-line.err
@@ -0,0 +1,3 @@
+<13>Feb 13 23:31:30 multi: AAA
+<13>Feb 13 23:31:30 multi: BBB
+<13>Feb 13 23:31:30 multi: CCC
diff --git a/tests/expected/logger/errors-rfc5424_exceed_size b/tests/expected/logger/errors-rfc5424_exceed_size
new file mode 100644
index 0000000..0f2938d
--- /dev/null
+++ b/tests/expected/logger/errors-rfc5424_exceed_size
@@ -0,0 +1 @@
+ret: 0
diff --git a/tests/expected/logger/errors-rfc5424_exceed_size.err b/tests/expected/logger/errors-rfc5424_exceed_size.err
new file mode 100644
index 0000000..91f69b6
--- /dev/null
+++ b/tests/expected/logger/errors-rfc5424_exceed_size.err
@@ -0,0 +1 @@
+<13>1 2009-02-13T23:31:30.123456+00:00 test-hostname rfc5424_exceed_size - - [timeQuality tzKnown="1" isSynced="0"] abc
diff --git a/tests/expected/logger/errors-rfc5424_msgid_with_space b/tests/expected/logger/errors-rfc5424_msgid_with_space
new file mode 100644
index 0000000..596150b
--- /dev/null
+++ b/tests/expected/logger/errors-rfc5424_msgid_with_space
@@ -0,0 +1 @@
+ret: 1
diff --git a/tests/expected/logger/errors-rfc5424_msgid_with_space.err b/tests/expected/logger/errors-rfc5424_msgid_with_space.err
new file mode 100644
index 0000000..273bc9b
--- /dev/null
+++ b/tests/expected/logger/errors-rfc5424_msgid_with_space.err
@@ -0,0 +1 @@
+test_logger: --msgid cannot contain space
diff --git a/tests/expected/logger/errors-tag_with_space b/tests/expected/logger/errors-tag_with_space
new file mode 100644
index 0000000..794fe34
--- /dev/null
+++ b/tests/expected/logger/errors-tag_with_space
@@ -0,0 +1,2 @@
+ret: 0
+ret: 0
diff --git a/tests/expected/logger/errors-tag_with_space.err b/tests/expected/logger/errors-tag_with_space.err
new file mode 100644
index 0000000..9821d82
--- /dev/null
+++ b/tests/expected/logger/errors-tag_with_space.err
@@ -0,0 +1,2 @@
+<13>Feb 13 23:31:30 A B: tag_with_space
+<13>1 2009-02-13T23:31:30.123456+00:00 test-hostname A B - - [timeQuality tzKnown="1" isSynced="0"] tag_with_space_rfc5424
diff --git a/tests/expected/logger/errors-tcp b/tests/expected/logger/errors-tcp
new file mode 100644
index 0000000..0f2938d
--- /dev/null
+++ b/tests/expected/logger/errors-tcp
@@ -0,0 +1 @@
+ret: 0
diff --git a/tests/expected/logger/errors-tcp.err b/tests/expected/logger/errors-tcp.err
new file mode 100644
index 0000000..4f77de3
--- /dev/null
+++ b/tests/expected/logger/errors-tcp.err
@@ -0,0 +1 @@
+<13>Feb 13 23:31:30 tcp: message
diff --git a/tests/expected/logger/formats-check_socket b/tests/expected/logger/formats-check_socket
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/formats-check_socket
diff --git a/tests/expected/logger/formats-check_socket.err b/tests/expected/logger/formats-check_socket.err
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/formats-check_socket.err
diff --git a/tests/expected/logger/formats-octet_counting b/tests/expected/logger/formats-octet_counting
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/formats-octet_counting
diff --git a/tests/expected/logger/formats-octet_counting.err b/tests/expected/logger/formats-octet_counting.err
new file mode 100644
index 0000000..6b18824
--- /dev/null
+++ b/tests/expected/logger/formats-octet_counting.err
@@ -0,0 +1,2 @@
+34 <13>Feb 13 23:31:30 octen: message
+ret: 0
diff --git a/tests/expected/logger/formats-priorities b/tests/expected/logger/formats-priorities
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/formats-priorities
diff --git a/tests/expected/logger/formats-priorities.err b/tests/expected/logger/formats-priorities.err
new file mode 100644
index 0000000..462e90f
--- /dev/null
+++ b/tests/expected/logger/formats-priorities.err
@@ -0,0 +1,304 @@
+<32>Feb 13 23:31:30 prio: auth.emerg
+ret: 0
+<33>Feb 13 23:31:30 prio: auth.alert
+ret: 0
+<34>Feb 13 23:31:30 prio: auth.crit
+ret: 0
+<35>Feb 13 23:31:30 prio: auth.err
+ret: 0
+<36>Feb 13 23:31:30 prio: auth.warning
+ret: 0
+<37>Feb 13 23:31:30 prio: auth.notice
+ret: 0
+<38>Feb 13 23:31:30 prio: auth.info
+ret: 0
+<39>Feb 13 23:31:30 prio: auth.debug
+ret: 0
+<80>Feb 13 23:31:30 prio: authpriv.emerg
+ret: 0
+<81>Feb 13 23:31:30 prio: authpriv.alert
+ret: 0
+<82>Feb 13 23:31:30 prio: authpriv.crit
+ret: 0
+<83>Feb 13 23:31:30 prio: authpriv.err
+ret: 0
+<84>Feb 13 23:31:30 prio: authpriv.warning
+ret: 0
+<85>Feb 13 23:31:30 prio: authpriv.notice
+ret: 0
+<86>Feb 13 23:31:30 prio: authpriv.info
+ret: 0
+<87>Feb 13 23:31:30 prio: authpriv.debug
+ret: 0
+<72>Feb 13 23:31:30 prio: cron.emerg
+ret: 0
+<73>Feb 13 23:31:30 prio: cron.alert
+ret: 0
+<74>Feb 13 23:31:30 prio: cron.crit
+ret: 0
+<75>Feb 13 23:31:30 prio: cron.err
+ret: 0
+<76>Feb 13 23:31:30 prio: cron.warning
+ret: 0
+<77>Feb 13 23:31:30 prio: cron.notice
+ret: 0
+<78>Feb 13 23:31:30 prio: cron.info
+ret: 0
+<79>Feb 13 23:31:30 prio: cron.debug
+ret: 0
+<24>Feb 13 23:31:30 prio: daemon.emerg
+ret: 0
+<25>Feb 13 23:31:30 prio: daemon.alert
+ret: 0
+<26>Feb 13 23:31:30 prio: daemon.crit
+ret: 0
+<27>Feb 13 23:31:30 prio: daemon.err
+ret: 0
+<28>Feb 13 23:31:30 prio: daemon.warning
+ret: 0
+<29>Feb 13 23:31:30 prio: daemon.notice
+ret: 0
+<30>Feb 13 23:31:30 prio: daemon.info
+ret: 0
+<31>Feb 13 23:31:30 prio: daemon.debug
+ret: 0
+<88>Feb 13 23:31:30 prio: ftp.emerg
+ret: 0
+<89>Feb 13 23:31:30 prio: ftp.alert
+ret: 0
+<90>Feb 13 23:31:30 prio: ftp.crit
+ret: 0
+<91>Feb 13 23:31:30 prio: ftp.err
+ret: 0
+<92>Feb 13 23:31:30 prio: ftp.warning
+ret: 0
+<93>Feb 13 23:31:30 prio: ftp.notice
+ret: 0
+<94>Feb 13 23:31:30 prio: ftp.info
+ret: 0
+<95>Feb 13 23:31:30 prio: ftp.debug
+ret: 0
+<48>Feb 13 23:31:30 prio: lpr.emerg
+ret: 0
+<49>Feb 13 23:31:30 prio: lpr.alert
+ret: 0
+<50>Feb 13 23:31:30 prio: lpr.crit
+ret: 0
+<51>Feb 13 23:31:30 prio: lpr.err
+ret: 0
+<52>Feb 13 23:31:30 prio: lpr.warning
+ret: 0
+<53>Feb 13 23:31:30 prio: lpr.notice
+ret: 0
+<54>Feb 13 23:31:30 prio: lpr.info
+ret: 0
+<55>Feb 13 23:31:30 prio: lpr.debug
+ret: 0
+<16>Feb 13 23:31:30 prio: mail.emerg
+ret: 0
+<17>Feb 13 23:31:30 prio: mail.alert
+ret: 0
+<18>Feb 13 23:31:30 prio: mail.crit
+ret: 0
+<19>Feb 13 23:31:30 prio: mail.err
+ret: 0
+<20>Feb 13 23:31:30 prio: mail.warning
+ret: 0
+<21>Feb 13 23:31:30 prio: mail.notice
+ret: 0
+<22>Feb 13 23:31:30 prio: mail.info
+ret: 0
+<23>Feb 13 23:31:30 prio: mail.debug
+ret: 0
+<56>Feb 13 23:31:30 prio: news.emerg
+ret: 0
+<57>Feb 13 23:31:30 prio: news.alert
+ret: 0
+<58>Feb 13 23:31:30 prio: news.crit
+ret: 0
+<59>Feb 13 23:31:30 prio: news.err
+ret: 0
+<60>Feb 13 23:31:30 prio: news.warning
+ret: 0
+<61>Feb 13 23:31:30 prio: news.notice
+ret: 0
+<62>Feb 13 23:31:30 prio: news.info
+ret: 0
+<63>Feb 13 23:31:30 prio: news.debug
+ret: 0
+<40>Feb 13 23:31:30 prio: syslog.emerg
+ret: 0
+<41>Feb 13 23:31:30 prio: syslog.alert
+ret: 0
+<42>Feb 13 23:31:30 prio: syslog.crit
+ret: 0
+<43>Feb 13 23:31:30 prio: syslog.err
+ret: 0
+<44>Feb 13 23:31:30 prio: syslog.warning
+ret: 0
+<45>Feb 13 23:31:30 prio: syslog.notice
+ret: 0
+<46>Feb 13 23:31:30 prio: syslog.info
+ret: 0
+<47>Feb 13 23:31:30 prio: syslog.debug
+ret: 0
+<8>Feb 13 23:31:30 prio: user.emerg
+ret: 0
+<9>Feb 13 23:31:30 prio: user.alert
+ret: 0
+<10>Feb 13 23:31:30 prio: user.crit
+ret: 0
+<11>Feb 13 23:31:30 prio: user.err
+ret: 0
+<12>Feb 13 23:31:30 prio: user.warning
+ret: 0
+<13>Feb 13 23:31:30 prio: user.notice
+ret: 0
+<14>Feb 13 23:31:30 prio: user.info
+ret: 0
+<15>Feb 13 23:31:30 prio: user.debug
+ret: 0
+<64>Feb 13 23:31:30 prio: uucp.emerg
+ret: 0
+<65>Feb 13 23:31:30 prio: uucp.alert
+ret: 0
+<66>Feb 13 23:31:30 prio: uucp.crit
+ret: 0
+<67>Feb 13 23:31:30 prio: uucp.err
+ret: 0
+<68>Feb 13 23:31:30 prio: uucp.warning
+ret: 0
+<69>Feb 13 23:31:30 prio: uucp.notice
+ret: 0
+<70>Feb 13 23:31:30 prio: uucp.info
+ret: 0
+<71>Feb 13 23:31:30 prio: uucp.debug
+ret: 0
+<128>Feb 13 23:31:30 prio: local0.emerg
+ret: 0
+<129>Feb 13 23:31:30 prio: local0.alert
+ret: 0
+<130>Feb 13 23:31:30 prio: local0.crit
+ret: 0
+<131>Feb 13 23:31:30 prio: local0.err
+ret: 0
+<132>Feb 13 23:31:30 prio: local0.warning
+ret: 0
+<133>Feb 13 23:31:30 prio: local0.notice
+ret: 0
+<134>Feb 13 23:31:30 prio: local0.info
+ret: 0
+<135>Feb 13 23:31:30 prio: local0.debug
+ret: 0
+<136>Feb 13 23:31:30 prio: local1.emerg
+ret: 0
+<137>Feb 13 23:31:30 prio: local1.alert
+ret: 0
+<138>Feb 13 23:31:30 prio: local1.crit
+ret: 0
+<139>Feb 13 23:31:30 prio: local1.err
+ret: 0
+<140>Feb 13 23:31:30 prio: local1.warning
+ret: 0
+<141>Feb 13 23:31:30 prio: local1.notice
+ret: 0
+<142>Feb 13 23:31:30 prio: local1.info
+ret: 0
+<143>Feb 13 23:31:30 prio: local1.debug
+ret: 0
+<144>Feb 13 23:31:30 prio: local2.emerg
+ret: 0
+<145>Feb 13 23:31:30 prio: local2.alert
+ret: 0
+<146>Feb 13 23:31:30 prio: local2.crit
+ret: 0
+<147>Feb 13 23:31:30 prio: local2.err
+ret: 0
+<148>Feb 13 23:31:30 prio: local2.warning
+ret: 0
+<149>Feb 13 23:31:30 prio: local2.notice
+ret: 0
+<150>Feb 13 23:31:30 prio: local2.info
+ret: 0
+<151>Feb 13 23:31:30 prio: local2.debug
+ret: 0
+<152>Feb 13 23:31:30 prio: local3.emerg
+ret: 0
+<153>Feb 13 23:31:30 prio: local3.alert
+ret: 0
+<154>Feb 13 23:31:30 prio: local3.crit
+ret: 0
+<155>Feb 13 23:31:30 prio: local3.err
+ret: 0
+<156>Feb 13 23:31:30 prio: local3.warning
+ret: 0
+<157>Feb 13 23:31:30 prio: local3.notice
+ret: 0
+<158>Feb 13 23:31:30 prio: local3.info
+ret: 0
+<159>Feb 13 23:31:30 prio: local3.debug
+ret: 0
+<160>Feb 13 23:31:30 prio: local4.emerg
+ret: 0
+<161>Feb 13 23:31:30 prio: local4.alert
+ret: 0
+<162>Feb 13 23:31:30 prio: local4.crit
+ret: 0
+<163>Feb 13 23:31:30 prio: local4.err
+ret: 0
+<164>Feb 13 23:31:30 prio: local4.warning
+ret: 0
+<165>Feb 13 23:31:30 prio: local4.notice
+ret: 0
+<166>Feb 13 23:31:30 prio: local4.info
+ret: 0
+<167>Feb 13 23:31:30 prio: local4.debug
+ret: 0
+<168>Feb 13 23:31:30 prio: local5.emerg
+ret: 0
+<169>Feb 13 23:31:30 prio: local5.alert
+ret: 0
+<170>Feb 13 23:31:30 prio: local5.crit
+ret: 0
+<171>Feb 13 23:31:30 prio: local5.err
+ret: 0
+<172>Feb 13 23:31:30 prio: local5.warning
+ret: 0
+<173>Feb 13 23:31:30 prio: local5.notice
+ret: 0
+<174>Feb 13 23:31:30 prio: local5.info
+ret: 0
+<175>Feb 13 23:31:30 prio: local5.debug
+ret: 0
+<176>Feb 13 23:31:30 prio: local6.emerg
+ret: 0
+<177>Feb 13 23:31:30 prio: local6.alert
+ret: 0
+<178>Feb 13 23:31:30 prio: local6.crit
+ret: 0
+<179>Feb 13 23:31:30 prio: local6.err
+ret: 0
+<180>Feb 13 23:31:30 prio: local6.warning
+ret: 0
+<181>Feb 13 23:31:30 prio: local6.notice
+ret: 0
+<182>Feb 13 23:31:30 prio: local6.info
+ret: 0
+<183>Feb 13 23:31:30 prio: local6.debug
+ret: 0
+<184>Feb 13 23:31:30 prio: local7.emerg
+ret: 0
+<185>Feb 13 23:31:30 prio: local7.alert
+ret: 0
+<186>Feb 13 23:31:30 prio: local7.crit
+ret: 0
+<187>Feb 13 23:31:30 prio: local7.err
+ret: 0
+<188>Feb 13 23:31:30 prio: local7.warning
+ret: 0
+<189>Feb 13 23:31:30 prio: local7.notice
+ret: 0
+<190>Feb 13 23:31:30 prio: local7.info
+ret: 0
+<191>Feb 13 23:31:30 prio: local7.debug
+ret: 0
diff --git a/tests/expected/logger/formats-rfc3164 b/tests/expected/logger/formats-rfc3164
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/formats-rfc3164
diff --git a/tests/expected/logger/formats-rfc3164.err b/tests/expected/logger/formats-rfc3164.err
new file mode 100644
index 0000000..2ab9fd5
--- /dev/null
+++ b/tests/expected/logger/formats-rfc3164.err
@@ -0,0 +1,2 @@
+<13>Feb 13 23:31:30 test-hostname rfc3164: message
+ret: 0
diff --git a/tests/expected/logger/formats-rfc5424_msgid b/tests/expected/logger/formats-rfc5424_msgid
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/formats-rfc5424_msgid
diff --git a/tests/expected/logger/formats-rfc5424_msgid.err b/tests/expected/logger/formats-rfc5424_msgid.err
new file mode 100644
index 0000000..755e97b
--- /dev/null
+++ b/tests/expected/logger/formats-rfc5424_msgid.err
@@ -0,0 +1,2 @@
+<13>1 2009-02-13T23:31:30.123456+00:00 test-hostname rfc5424 - MSGID [timeQuality tzKnown="1" isSynced="0"] message
+ret: 0
diff --git a/tests/expected/logger/formats-rfc5424_nohost b/tests/expected/logger/formats-rfc5424_nohost
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/formats-rfc5424_nohost
diff --git a/tests/expected/logger/formats-rfc5424_nohost.err b/tests/expected/logger/formats-rfc5424_nohost.err
new file mode 100644
index 0000000..30ed025
--- /dev/null
+++ b/tests/expected/logger/formats-rfc5424_nohost.err
@@ -0,0 +1,2 @@
+<13>1 2009-02-13T23:31:30.123456+00:00 - rfc5424 - - [timeQuality tzKnown="1" isSynced="0"] message
+ret: 0
diff --git a/tests/expected/logger/formats-rfc5424_notime b/tests/expected/logger/formats-rfc5424_notime
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/formats-rfc5424_notime
diff --git a/tests/expected/logger/formats-rfc5424_notime.err b/tests/expected/logger/formats-rfc5424_notime.err
new file mode 100644
index 0000000..d9c96f3
--- /dev/null
+++ b/tests/expected/logger/formats-rfc5424_notime.err
@@ -0,0 +1,2 @@
+<13>1 - test-hostname rfc5424 - - - message
+ret: 0
diff --git a/tests/expected/logger/formats-rfc5424_simple b/tests/expected/logger/formats-rfc5424_simple
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/formats-rfc5424_simple
diff --git a/tests/expected/logger/formats-rfc5424_simple.err b/tests/expected/logger/formats-rfc5424_simple.err
new file mode 100644
index 0000000..90e5a34
--- /dev/null
+++ b/tests/expected/logger/formats-rfc5424_simple.err
@@ -0,0 +1,2 @@
+<13>1 2009-02-13T23:31:30.123456+00:00 test-hostname rfc5424 - - [timeQuality tzKnown="1" isSynced="0"] message
+ret: 0
diff --git a/tests/expected/logger/input_empty_line b/tests/expected/logger/input_empty_line
new file mode 100644
index 0000000..78578ae
--- /dev/null
+++ b/tests/expected/logger/input_empty_line
@@ -0,0 +1,3 @@
+a1 a2 a3 a4 a5 b1 b2 b3 b4 b5 c1 c2 c3 c4 c5
+
+5{c..1} 4{c..1} 3{c..1} 2{c..1} 1{c..1}
diff --git a/tests/expected/logger/input_prio_prefix b/tests/expected/logger/input_prio_prefix
new file mode 100644
index 0000000..25a5f54
--- /dev/null
+++ b/tests/expected/logger/input_prio_prefix
@@ -0,0 +1 @@
+<66> prio_prefix
diff --git a/tests/expected/logger/input_simple b/tests/expected/logger/input_simple
new file mode 100644
index 0000000..9e5c66d
--- /dev/null
+++ b/tests/expected/logger/input_simple
@@ -0,0 +1 @@
+a1 a2 a3 a4 a5 b1 b2 b3 b4 b5 c1 c2 c3 c4 c5
diff --git a/tests/expected/logger/journald b/tests/expected/logger/journald
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/journald
diff --git a/tests/expected/logger/journald.err b/tests/expected/logger/journald.err
new file mode 100644
index 0000000..354628d
--- /dev/null
+++ b/tests/expected/logger/journald.err
@@ -0,0 +1,3 @@
+MESSAGE_ID=b8f74e14bc714bfc8040a5106dc9376a
+MESSAGE=a b c 1 2 3
+ret: 0
diff --git a/tests/expected/logger/options-check_socket b/tests/expected/logger/options-check_socket
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/options-check_socket
diff --git a/tests/expected/logger/options-check_socket.err b/tests/expected/logger/options-check_socket.err
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/options-check_socket.err
diff --git a/tests/expected/logger/options-input_file_empty_line b/tests/expected/logger/options-input_file_empty_line
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/options-input_file_empty_line
diff --git a/tests/expected/logger/options-input_file_empty_line.err b/tests/expected/logger/options-input_file_empty_line.err
new file mode 100644
index 0000000..d276e3c
--- /dev/null
+++ b/tests/expected/logger/options-input_file_empty_line.err
@@ -0,0 +1,4 @@
+<13>Feb 13 23:31:30 test_tag: a1 a2 a3 a4 a5 b1 b2 b3 b4 b5 c1 c2 c3 c4 c5
+<13>Feb 13 23:31:30 test_tag:
+<13>Feb 13 23:31:30 test_tag: 5{c..1} 4{c..1} 3{c..1} 2{c..1} 1{c..1}
+ret: 0
diff --git a/tests/expected/logger/options-input_file_prio_prefix b/tests/expected/logger/options-input_file_prio_prefix
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/options-input_file_prio_prefix
diff --git a/tests/expected/logger/options-input_file_prio_prefix.err b/tests/expected/logger/options-input_file_prio_prefix.err
new file mode 100644
index 0000000..df69bb9
--- /dev/null
+++ b/tests/expected/logger/options-input_file_prio_prefix.err
@@ -0,0 +1,2 @@
+<66>Feb 13 23:31:30 test_tag: prio_prefix
+ret: 0
diff --git a/tests/expected/logger/options-input_file_simple b/tests/expected/logger/options-input_file_simple
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/options-input_file_simple
diff --git a/tests/expected/logger/options-input_file_simple.err b/tests/expected/logger/options-input_file_simple.err
new file mode 100644
index 0000000..d855247
--- /dev/null
+++ b/tests/expected/logger/options-input_file_simple.err
@@ -0,0 +1,2 @@
+<13>Feb 13 23:31:30 test_tag: a1 a2 a3 a4 a5 b1 b2 b3 b4 b5 c1 c2 c3 c4 c5
+ret: 0
diff --git a/tests/expected/logger/options-input_file_skip_empty b/tests/expected/logger/options-input_file_skip_empty
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/options-input_file_skip_empty
diff --git a/tests/expected/logger/options-input_file_skip_empty.err b/tests/expected/logger/options-input_file_skip_empty.err
new file mode 100644
index 0000000..277c186
--- /dev/null
+++ b/tests/expected/logger/options-input_file_skip_empty.err
@@ -0,0 +1,3 @@
+<13>Feb 13 23:31:30 test_tag: a1 a2 a3 a4 a5 b1 b2 b3 b4 b5 c1 c2 c3 c4 c5
+<13>Feb 13 23:31:30 test_tag: 5{c..1} 4{c..1} 3{c..1} 2{c..1} 1{c..1}
+ret: 0
diff --git a/tests/expected/logger/options-log_pid b/tests/expected/logger/options-log_pid
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/options-log_pid
diff --git a/tests/expected/logger/options-log_pid.err b/tests/expected/logger/options-log_pid.err
new file mode 100644
index 0000000..47a0147
--- /dev/null
+++ b/tests/expected/logger/options-log_pid.err
@@ -0,0 +1,2 @@
+<13>Feb 13 23:31:30 test_tag[98765]: test
+ret: 0
diff --git a/tests/expected/logger/options-log_pid_define b/tests/expected/logger/options-log_pid_define
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/options-log_pid_define
diff --git a/tests/expected/logger/options-log_pid_define.err b/tests/expected/logger/options-log_pid_define.err
new file mode 100644
index 0000000..e47b875
--- /dev/null
+++ b/tests/expected/logger/options-log_pid_define.err
@@ -0,0 +1,2 @@
+<13>Feb 13 23:31:30 test_tag[12345]: test
+ret: 0
diff --git a/tests/expected/logger/options-log_pid_long b/tests/expected/logger/options-log_pid_long
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/options-log_pid_long
diff --git a/tests/expected/logger/options-log_pid_long.err b/tests/expected/logger/options-log_pid_long.err
new file mode 100644
index 0000000..47a0147
--- /dev/null
+++ b/tests/expected/logger/options-log_pid_long.err
@@ -0,0 +1,2 @@
+<13>Feb 13 23:31:30 test_tag[98765]: test
+ret: 0
diff --git a/tests/expected/logger/options-log_pid_no_arg b/tests/expected/logger/options-log_pid_no_arg
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/options-log_pid_no_arg
diff --git a/tests/expected/logger/options-log_pid_no_arg.err b/tests/expected/logger/options-log_pid_no_arg.err
new file mode 100644
index 0000000..47a0147
--- /dev/null
+++ b/tests/expected/logger/options-log_pid_no_arg.err
@@ -0,0 +1,2 @@
+<13>Feb 13 23:31:30 test_tag[98765]: test
+ret: 0
diff --git a/tests/expected/logger/options-simple b/tests/expected/logger/options-simple
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/options-simple
diff --git a/tests/expected/logger/options-simple.err b/tests/expected/logger/options-simple.err
new file mode 100644
index 0000000..2fa18e0
--- /dev/null
+++ b/tests/expected/logger/options-simple.err
@@ -0,0 +1,2 @@
+<13>Feb 13 23:31:30 test_tag: test
+ret: 0
diff --git a/tests/expected/logger/options.err b/tests/expected/logger/options.err
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/logger/options.err