summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-leap-15-6/man5/journald.conf.5
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/opensuse-leap-15-6/man5/journald.conf.5')
-rw-r--r--upstream/opensuse-leap-15-6/man5/journald.conf.514
1 files changed, 12 insertions, 2 deletions
diff --git a/upstream/opensuse-leap-15-6/man5/journald.conf.5 b/upstream/opensuse-leap-15-6/man5/journald.conf.5
index 372e99bd..dc754063 100644
--- a/upstream/opensuse-leap-15-6/man5/journald.conf.5
+++ b/upstream/opensuse-leap-15-6/man5/journald.conf.5
@@ -75,7 +75,12 @@ configuration subdirectories are sorted by their filename in lexicographic order
When packages need to customize the configuration, they can install drop\-ins under
/usr/\&. Files in
/etc/
-are reserved for the local administrator, who may use this logic to override the configuration files installed by vendor packages\&. Drop\-ins have to be used to override package drop\-ins, since the main configuration file has lower precedence\&. It is recommended to prefix all filenames in those subdirectories with a two\-digit number and a dash, to simplify the ordering of the files\&. This also defined a concept of drop\-in priority to allow distributions to ship drop\-ins within a specific range lower than the range used by users\&. This should lower the risk of package drop\-ins overriding accidentally drop\-ins defined by users\&.
+are reserved for the local administrator, who may use this logic to override the configuration files installed by vendor packages\&. Drop\-ins have to be used to override package drop\-ins, since the main configuration file has lower precedence\&. It is recommended to prefix all filenames in those subdirectories with a two\-digit number and a dash, to simplify the ordering of the files\&. This also defines a concept of drop\-in priorities to allow OS vendors to ship drop\-ins within a specific range lower than the range used by users\&. This should lower the risk of package drop\-ins overriding accidentally drop\-ins defined by users\&. It is recommended to use the range 10\-40 for drop\-ins in
+/usr/
+and the range 60\-90 for drop\-ins in
+/etc/
+and
+/run/, to make sure that local and transient drop\-ins take priority over drop\-ins shipped by the OS vendor\&.
.PP
To disable a configuration file supplied by the vendor, the recommended way is to place a symlink to
/dev/null
@@ -306,7 +311,8 @@ and
control how large individual journal files may grow at most\&. This influences the granularity in which disk space is made available through rotation, i\&.e\&. deletion of historic data\&. Defaults to one eighth of the values configured with
\fISystemMaxUse=\fR
and
-\fIRuntimeMaxUse=\fR, so that usually seven rotated journal files are kept as history\&. If the journal compact mode is enabled (enabled by default), the maximum file size is capped to 4G\&.
+\fIRuntimeMaxUse=\fR
+capped to 128M, so that usually seven rotated journal files are kept as history\&. If the journal compact mode is enabled (enabled by default), the maximum file size is capped to 4G\&.
.sp
Specify values in bytes or use K, M, G, T, P, E as units for the specified sizes (equal to 1024, 1024\(S2, \&... bytes)\&. Note that size limits are enforced synchronously when journal files are extended, and no explicit rotation step triggered by time is needed\&.
.sp
@@ -370,6 +376,10 @@ to the kernel command line\&.
\fBsystemd\fR
will automatically disable kernel\*(Aqs rate\-limiting applied to userspace processes (equivalent to setting
"printk\&.devkmsg=on")\&.
+.PP
+Note: Forwarding is performed synchronously within journald, and may significantly affect its performance\&. This is particularly relevant when using ForwardToConsole=yes in cloud environments, where the console is often a slow, virtual serial port\&. Since journald is implemented as a conventional single\-process daemon, forwarding to a completely hung console will block journald\&. This can have a cascading effect resulting in any services synchronously logging to the blocked journal also becoming blocked\&. Unless actively debugging/developing something, it\*(Aqs generally preferable to setup a
+\fBjournalctl \-\-follow\fR
+style service redirected to the console, instead of ForwardToConsole=yes, for production use\&.
.RE
.PP
\fIMaxLevelStore=\fR, \fIMaxLevelSyslog=\fR, \fIMaxLevelKMsg=\fR, \fIMaxLevelConsole=\fR, \fIMaxLevelWall=\fR