You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/_admin-guide/060_Sources/190_systemd-journal/000_systemd-journal_options.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ description: >-
10
10
11
11
The systemd-journal() driver has the following options:
12
12
13
+
{% include doc/admin-guide/options/chain-hostnames.md %}
14
+
13
15
{% include doc/admin-guide/options/default-facility.md %}
14
16
15
17
{% include doc/admin-guide/options/default-priority.md %}
@@ -22,8 +24,6 @@ The systemd-journal() driver has the following options:
22
24
*Description:* The default level value if the `PRIORITY` entry does not
23
25
exist.
24
26
25
-
{% include doc/admin-guide/options/chain-hostnames.md %}
26
-
27
27
{% include doc/admin-guide/options/format.md %}
28
28
29
29
{% include doc/admin-guide/options/hook.md %}
@@ -147,8 +147,21 @@ get a prefix (for example: ".SDATA.journald."). By default, {{ site.product.shor
147
147
*Description:* If set to **yes**, {{ site.product.short_name }} will start reading the
148
148
records from the beginning of the journal, if the journal has not been
149
149
read yet. If set to **no**, {{ site.product.short_name }} will read only the new
150
-
records. If the source has a state in the persist file, this option will
150
+
records.
151
+
152
+
**NOTE:** If the source has a state in the persist file, this option will
151
153
have no effect.
154
+
{: .notice--info}
155
+
156
+
See read-old-on-error() for the behavior of {{ site.product.short_name }} when the source has a state in the persist file but {{ site.product.short_name }} cannot locate this position at startup.
157
+
158
+
## read-old-on-error()
159
+
160
+
| Accepted values:| yes \| no|
161
+
|Default:| yes|
162
+
163
+
*Description:* When the source has a state in the persist file, {{ site.product.short_name }} attempts to read the journal from the last recorded position at startup.\
164
+
If {{ site.product.short_name }} cannot locate this position (for example, because the journal has been rotated or cleared since the last read), this option determines whether {{ site.product.short_name }} starts reading records from the beginning of the journal or only processes new records. If set to `yes`, it reads from the beginning; otherwise, it reads only new records.
152
165
153
166
{% include doc/admin-guide/options/sdata-prefix.md %}
Only one systemd-journal() source can be configured in the configuration file.
37
+
 **CAUTION:** Only one systemd-journal() source can be configured in the configuration file.
39
38
If there is more than one systemd-journal() source configured, {{ site.product.short_name }}
40
39
will not start.
41
40
{: .notice--warning}
42
41
43
42

44
-
**CAUTION:**
45
-
The systemd-journal() source cannot operate under an Ubuntu 24.04 LTS (Noble Numbat) platform. For more information on supported platforms, see Supported platforms.
43
+
**CAUTION:** The systemd-journal() source cannot operate under an Ubuntu 24.04 LTS (Noble Numbat) platform. For more information on supported platforms, see Supported platforms.
0 commit comments