summaryrefslogtreecommitdiff
path: root/src/journal/journald.conf
Commit message (Collapse)AuthorAgeFilesLines
* fix: point to the correct drop-ins subdirectory for confsJóhann B. Guðmundsson2021-04-221-1/+1
|
* config files: recommend systemd-analyze cat-configZbigniew Jędrzejewski-Szmek2021-03-261-0/+2
| | | | | | | | | | | | | | This adds the same line to most of our .conf files. Not for systemd/user.conf though, since we can't correctly display it right now: $ systemd-analyze cat-config --user systemd/user.conf Option --user is not supported for cat-config right now. For sysusers.d, tmpfiles.d, rules.d, etc, there is no single file. Maybe we should short READMEs in /usr/lib/sysusers.d, /usr/lib/tmpfiles.d, etc.? Inspired by #19118.
* Recommend drop-ins over modifications to the main config fileZbigniew Jędrzejewski-Szmek2021-02-191-7/+8
| | | | As discussed in https://github.com/systemd/systemd/pull/18347.
* journald: add configuration option for enabling/disabling audit during ↵Lennart Poettering2020-04-171-0/+1
| | | | | | | | | | | | | journald startup Let's make it optional whether auditing is enabled at journald start-up or not. Note that this only controls whether audit is enabled/disabled in the kernel. Either way we'll still collect the audit data if it is generated, i.e. if some other tool enables it, we'll collect it. Fixes: #959
* journal: add missing option in journald.confYu Watanabe2018-06-261-0/+1
|
* journald: bump rate limits (#8660)David Tardon2018-04-051-1/+1
| | | | Apparently, it is quite common to hit a problem, where systemd-journald would drop messages because service is logging too fast.
* journald: make maximum size of stream log lines configurable and bump it to ↵Lennart Poettering2017-09-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 48K (#6838) This adds a new setting LineMax= to journald.conf, and sets it by default to 48K. When we convert stream-based stdout/stderr logging into record-based log entries, read up to the specified amount of bytes before forcing a line-break. This also makes three related changes: - When a NUL byte is read we'll not recognize this as alternative line break, instead of silently dropping everything after it. (see #4863) - The reason for a line-break is now encoded in the log record, if it wasn't a plain newline. Specifically, we distuingish "nul", "line-max" and "eof", for line breaks due to NUL byte, due to the maximum line length as configured with LineMax= or due to end of stream. This data is stored in the new implicit _LINE_BREAK= field. It's not synthesized for plain \n line breaks. - A randomized 128bit ID is assigned to each log stream. With these three changes in place it's (mostly) possible to reconstruct the original byte streams from log data, as (most) of the context of the conversion from the byte stream to log records is saved now. (So, the only bits we still drop are empty lines. Which might be something to look into in a future change, and which is outside of the scope of this work) Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=86465 See: #4863 Replaces: #4875
* core: rename StartLimitInterval= to StartLimitIntervalSec=Lennart Poettering2016-04-291-1/+1
| | | | | | | | | We generally follow the rule that for time settings we suffix the setting name with "Sec" to indicate the default unit if none is specified. The only exception was the rate limiting interval settings. Fix this, and keep the old names for compatibility. Do the same for journald's RateLimitInterval= setting
* journal: rework vacuuming logicLennart Poettering2015-10-021-0/+2
| | | | | | | | | | | | | | | Implement a maximum limit on number of journal files to keep around. Enforcing a limit is useful on this since our performance when viewing pays a heavy penalty for each journal file to interleve. This setting is turned on now by default, and set to 100. Also, actully implement what 348ced909724a1331b85d57aede80a102a00e428 promised: use whatever we find on disk at startup as lower bound on how much disk space we can use. That commit introduced some provisions to implement this, but actually never did. This also adds "journalctl --vacuum-files=" to vacuum files on disk by their number explicitly.
* Do not advertise .d snippets over main config fileZbigniew Jędrzejewski-Szmek2015-03-031-3/+4
| | | | | | | | | | For daemons which have a main configuration file, there's little reason for the administrator to use configuration snippets. They are useful for packagers which need to override settings, but we shouldn't advertise that as the main way of configuring those services. https://bugs.freedesktop.org/show_bug.cgi?id=89397
* journald: Support journald.conf.d directories in the usual search pathsJosh Triplett2014-11-291-0/+3
|
* journald: turn ForwardToSyslog= off by defaultLennart Poettering2014-07-111-1/+1
| | | | | After all, rsyslog and friends nowadays read their data directly from the journal, hence the forwarding is unnecessary in most cases.
* journald: make SplitMode=uid the defaultLennart Poettering2014-06-191-1/+1
| | | | | | | | | Now that we actually can distuingish system and normal users there's no point in taking session information into account anymore when splitting up logs. This has the beenfit with that coredump information will actually end up in each user's own journal.
* journald: add support for wall forwardingSebastian Thorarensen2014-03-141-0/+2
| | | | | | | | | | | | | | This will let journald forward logs as messages sent to all logged in users (like wall). Two options are added: * ForwardToWall (default yes) * MaxLevelWall (default emerg) 'ForwardToWall' is overridable by kernel command line option 'systemd.journald.forward_to_wall'. This is used to emulate the traditional syslogd behaviour of sending emergency messages to all logged in users.
* journald: bump the journal per-unit ratelimit defaultsLennart Poettering2013-06-211-2/+2
| | | | | | Too many people kept hitting them, so let's increase the limits a bit. https://bugzilla.redhat.com/show_bug.cgi?id=965803
* journal: Add sync timer to journal serverOleksii Shevchuk2013-03-251-0/+1
| | | | | | | | Add option to force journal sync with fsync. Default timeout is 5min. Interval configured via SyncIntervalSec option at journal.conf. Synced journal files will be marked as OFFLINE. Manual sync can be performed via sending SIGUSR1.
* journald.conf: remove MinSize= settingsLennart Poettering2012-10-191-2/+0
| | | | | There's no point in making this configurable, so let's drop it in order to simplify configuration a bit.
* journal: implement time-based rotation/vacuumingLennart Poettering2012-10-161-0/+2
| | | | | This also enables time-based rotation (but not vacuuming) after 1month, so that not more one month of journal is lost at a time per vacuuming.
* journald: make splitting up of journal files per-user configurableLennart Poettering2012-09-071-0/+1
|
* journald: add new Seal= configuration optionLennart Poettering2012-08-201-1/+2
|
* journald: basic support for /dev/kmsg parsingLennart Poettering2012-08-091-1/+0
|
* journal: default ImportKernel=no until we make use of structured loggingLennart Poettering2012-07-031-1/+1
|
* journal: move Storage=auto stanza to right fileLennart Poettering2012-07-031-0/+1
|
* journal: allow setting of a cutoff log level for disk storage, syslog, kmsg, ↵Lennart Poettering2012-06-011-0/+4
| | | | console forwarding
* journal: support changing the console tty to forward toLennart Poettering2012-06-011-0/+1
|
* journald: refer to the correct man pageMatthias Clasen2012-05-271-1/+1
| | | | | Fix the reference to the journald.conf man page in the config file of the same name.
* relicense to LGPLv2.1 (with exceptions)Lennart Poettering2012-04-121-2/+2
| | | | | | | | | | | | | | We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
* rename /etc/systemd/systemd-{login,journal}d.conf to {login,journal}d.confKay Sievers2012-03-301-0/+25