diff options
author | Filipe Brandenburger <filbranden@google.com> | 2018-09-07 01:02:42 -0700 |
---|---|---|
committer | Filipe Brandenburger <filbranden@google.com> | 2018-09-08 13:39:03 -0700 |
commit | 9e825ebf4f5029ae6cb072ac568d7838e0762a9e (patch) | |
tree | 4950d3f39fa29f8513a797d313ca6b48fd04c131 /docs/var-log | |
parent | 9d0798a2edf05438499c7cb5def592d52358f397 (diff) | |
download | systemd-9e825ebf4f5029ae6cb072ac568d7838e0762a9e.tar.gz |
docs: move doc/ to docs/
The docs/ directory is special in GitHub, since it can be used to serve GitHub
Pages from, so there's a benefit to switching to it in order to expose it
directly as a website.
Updated references to it from the documentations themselves, from the
CONTRIBUTING.md file and from Meson build files.
Diffstat (limited to 'docs/var-log')
-rw-r--r-- | docs/var-log/README.in | 26 | ||||
-rw-r--r-- | docs/var-log/meson.build | 11 |
2 files changed, 37 insertions, 0 deletions
diff --git a/docs/var-log/README.in b/docs/var-log/README.in new file mode 100644 index 0000000000..2e64fb196a --- /dev/null +++ b/docs/var-log/README.in @@ -0,0 +1,26 @@ +You are looking for the traditional text log files in @VARLOGDIR@, and +they are gone? + +Here's an explanation on what's going on: + +You are running a systemd-based OS where traditional syslog has been +replaced with the Journal. The journal stores the same (and more) +information as classic syslog. To make use of the journal and access +the collected log data simply invoke "journalctl", which will output +the logs in the identical text-based format the syslog files in +@VARLOGDIR@ used to be. For further details, please refer to +journalctl(1). + +Alternatively, consider installing one of the traditional syslog +implementations available for your distribution, which will generate +the classic log files for you. Syslog implementations such as +syslog-ng or rsyslog may be installed side-by-side with the journal +and will continue to function the way they always did. + +Thank you! + +Further reading: + man:journalctl(1) + man:systemd-journald.service(8) + man:journald.conf(5) + http://0pointer.de/blog/projects/the-journal.html diff --git a/docs/var-log/meson.build b/docs/var-log/meson.build new file mode 100644 index 0000000000..0ddff20ce5 --- /dev/null +++ b/docs/var-log/meson.build @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: LGPL-2.1+ + +file = configure_file( + input : 'README.in', + output : 'README', + configuration : substs) + +if conf.get('HAVE_SYSV_COMPAT') == 1 + install_data(file, + install_dir : varlogdir) +endif |