~ubuntu-branches/debian/jessie/systemd/jessie

« back to all changes in this revision

Viewing changes to man/systemd-journald.conf.5

  • Committer: Package Import Robot
  • Author(s): Tollef Fog Heen, Tollef Fog Heen, Michael Biebl
  • Date: 2012-04-03 19:59:17 UTC
  • mfrom: (1.1.10) (6.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20120403195917-l532urrbg4pkreas
Tags: 44-1
[ Tollef Fog Heen ]
* New upstream version.
  - Backport 3492207: journal: PAGE_SIZE is not known on ppc and other
    archs
  - Backport 5a2a2a1: journal: react with immediate rotation to a couple
    of more errors
  - Backport 693ce21: util: never follow symlinks in rm_rf_children()
    Fixes CVE-2012-1174, closes: #664364
* Drop output message from init-functions hook, it's pointless.
* Only rmdir /lib/init/rw if it exists.
* Explicitly order debian-fixup before sysinit.target to prevent a
  possible race condition with the creation of sockets.  Thanks to
  Michael Biebl for debugging this.
* Always restart the initctl socket on upgrades, to mask sysvinit
  removing it.

[ Michael Biebl ]
* Remove workaround for non-interactive sessions from pam config again.
* Create compat /dev/initctl symlink in case we are upgrading from a system
  running a newer version of sysvinit (using /run/initctl) and sysvinit is
  replaced with systemd-sysv during the upgrade. Closes: #663219
* Install new man pages.
* Build-Depend on valac (>= 0.12) instead of valac-0.12. Closes: #663323

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'\" t
 
2
.\"     Title: systemd-journald.conf
 
3
.\"    Author: Lennart Poettering <lennart@poettering.net>
 
4
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
 
5
.\"      Date: 03/16/2012
 
6
.\"    Manual: systemd-journald.conf
 
7
.\"    Source: systemd
 
8
.\"  Language: English
 
9
.\"
 
10
.TH "SYSTEMD\-JOURNALD\&." "5" "03/16/2012" "systemd" "systemd-journald.conf"
 
11
.\" -----------------------------------------------------------------
 
12
.\" * Define some portability stuff
 
13
.\" -----------------------------------------------------------------
 
14
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
15
.\" http://bugs.debian.org/507673
 
16
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
 
17
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
18
.ie \n(.g .ds Aq \(aq
 
19
.el       .ds Aq '
 
20
.\" -----------------------------------------------------------------
 
21
.\" * set default formatting
 
22
.\" -----------------------------------------------------------------
 
23
.\" disable hyphenation
 
24
.nh
 
25
.\" disable justification (adjust text to left margin only)
 
26
.ad l
 
27
.\" -----------------------------------------------------------------
 
28
.\" * MAIN CONTENT STARTS HERE *
 
29
.\" -----------------------------------------------------------------
 
30
.SH "NAME"
 
31
systemd-journald.conf \- Journal service configuration file
 
32
.SH "SYNOPSIS"
 
33
.PP
 
34
systemd\-journald\&.conf
 
35
.SH "DESCRIPTION"
 
36
.PP
 
37
This files configures various parameters of the systemd journal service\&.
 
38
.SH "OPTIONS"
 
39
.PP
 
40
All options are configured in the
 
41
[Journal]
 
42
section:
 
43
.PP
 
44
\fICompress=\fR
 
45
.RS 4
 
46
Takes a boolean value\&. If enabled (the default) data objects that shall be stored in the journal and are larger than a certain threshold are compressed with the XZ compression algorithm before they are written to the file system\&.
 
47
.RE
 
48
.PP
 
49
\fIRateLimitInterval=\fR, \fIRateLimitBurst=\fR
 
50
.RS 4
 
51
Configures the rate limiting that is applied to all messages generated on the system\&. If in the time interval defined by
 
52
\fIRateLimitInterval=\fR
 
53
more messages than specified in
 
54
\fIRateLimitBurst=\fR
 
55
are logged by a service all further messages within the interval are dropped, until the interval is over\&. A message about the number of dropped messages is generated\&. This rate limiting is applied per\-service, so that two services which log do not interfere with each other\*(Aqs limit\&. Defaults to 100 messages in 10s\&. The time specification for
 
56
\fIRateLimitInterval=\fR
 
57
may be specified in the following units:
 
58
s,
 
59
min,
 
60
h,
 
61
ms,
 
62
us\&. To turn off any kind of rate limiting, set either value to 0\&.
 
63
.RE
 
64
.PP
 
65
\fISystemMaxUse=\fR, \fISystemKeepFree=\fR, \fISystemMaxFileSize=\fR, \fISystemMinFileSize=\fR, \fIRuntimeMaxUse=\fR, \fIRuntimeKeepFree=\fR, \fIRuntimeMaxFileSize=\fR, \fIRuntimeMinFileSize=\fR
 
66
.RS 4
 
67
Enforce size limits on the journal files stored\&. The options prefixed with
 
68
System
 
69
apply to the journal files when stored on a persistant file system, more specifically
 
70
/var/log/journal\&. The options prefixed with
 
71
Runtime
 
72
apply to the journal files when stored on a volatile in\-memory file system, more specifically
 
73
/run/log/journal\&. The former is used only when
 
74
/var
 
75
is mounted, writable and the directory
 
76
/var/log/journal
 
77
exists\&. Otherwise only the latter applies\&. Note that this means that during early boot and if the administrator disabled persistant logging only the latter options apply, while the former apply if persistant logging is enabled and the system is fully booted up\&.
 
78
\fISystemMaxUse=\fR
 
79
and
 
80
\fIRuntimeMaxUse=\fR
 
81
control how much disk space the journal may use up at maximum\&. Defaults to 10% of the size of the respective file system\&.
 
82
\fISystemKeepFree=\fR
 
83
and
 
84
\fIRuntimeKeepFree=\fR
 
85
control how much disk space the journal shall always leave free for other uses if less than the disk space configured in
 
86
\fISystemMaxUse=\fR
 
87
and
 
88
\fIRuntimeMaxUse=\fR
 
89
is available\&. Defaults to 5% of the size of the respective file system\&.
 
90
\fISystemMaxFileSize=\fR
 
91
and
 
92
\fIRuntimeMaxFileSize=\fR
 
93
control how large individual journal files may grow at maximum\&. This influences the granularity in which disk space is made available through rotation, i\&.e\&. deletion of historic data\&. Defaults to one eigth of the values configured with
 
94
\fISystemMaxUse=\fR
 
95
and
 
96
\fIRuntimeMaxUse=\fR, so that usually seven rotated journal files are kept as history\&.
 
97
\fISystemMinFileSize=\fR
 
98
and
 
99
\fIRuntimeMinFileSize=\fR
 
100
control how large individual journal files grow at minimum\&. Defaults to 64K\&. Specify values in bytes or use K, M, G, T, P, E as units for the specified sizes\&. Note that size limits are enforced synchronously to journal files as they are extended, and need no explicit rotation step triggered by time\&.
 
101
.RE
 
102
.PP
 
103
\fIForwardToSyslog=\fR, \fIForwardToKMsg=\fR, \fIForwardToConsole=\fR
 
104
.RS 4
 
105
Control whether log messages received by the journal daemon shall be forwarded to a traditional syslog daemon, to the kernel log buffer (kmsg), or to the system console\&. These options take boolean arguments\&. If forwarding to syslog is enabled but no syslog daemon is running the respective option has no effect\&. By default only forwarding to syslog is enabled\&. These settings may be overriden at boot time with the kernel command line options
 
106
systemd_journald\&.forward_to_syslog=,
 
107
systemd_journald\&.forward_to_kmsg=
 
108
and
 
109
systemd_journald\&.forward_to_console=\&. If forwarding to the kernel log buffer and
 
110
\fIImportKernel=\fR
 
111
is enabled at the same time care is taken to avoid logging loops\&. It is safe to use these options in combination\&.
 
112
.RE
 
113
.PP
 
114
\fIImportKernel=\fR
 
115
.RS 4
 
116
Controls whether kernel log messages shall be stored in the journal\&. Takes a boolean argument and defaults to enabled\&. Note that currently only one userspace service can read kernel messages at a time, which means that kernel log message reading might get corrupted if it is enabled in more than one service, for example in both the journal and a traditional syslog service\&.
 
117
.RE
 
118
.SH "SEE ALSO"
 
119
.PP
 
120
 
 
121
\fBsystemd\fR(1),
 
122
\fBsystemd-journalctl\fR(1),
 
123
\fBsystemd.conf\fR(5)
 
124
.SH "AUTHOR"
 
125
.PP
 
126
\fBLennart Poettering\fR <\&lennart@poettering\&.net\&>
 
127
.RS 4
 
128
Developer
 
129
.RE