Skip to content

Commit 3d679d1

Browse files
committed
Added first batch of changes.
1 parent e907260 commit 3d679d1

File tree

3 files changed

+62
-4
lines changed

3 files changed

+62
-4
lines changed

articles/journalctl.asm.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,12 @@ You must have &sudo; privileges.
137137
</variablelist>
138138
</abstract>
139139
</merge>
140-
<module renderas="section" resourceref="_journal-about-journald"/>
140+
<module renderas="section" resourceref="_journal-about-journald">
141+
<module renderas="section" resourceref="_journald-configure"/>
142+
</module>
141143
<module renderas="section" resourceref="_journald-filter-journals"/>
142144
<module renderas="section" resourceref="_journalctl-usage"/>
143-
<module renderas="section" resourceref="_journald-configure"/>
145+
144146
<module renderas="section" resourceref="_systemd-journald-troubleshooting"/>
145147
<module resourceref="_legal"/>
146148
<module resourceref="_gfdl">

concepts/journal-about-journald.xml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,22 @@
1616
xmlns:xlink="http://www.w3.org/1999/xlink"
1717
xmlns:trans="http://docbook.org/ns/transclusion">
1818
<info>
19-
<title>About journald</title>
19+
<title>About <literal>journald</literal></title>
2020
<meta name="maintainer" content="[email protected]" its:translate="no"/>
2121
<abstract>
2222
<para>
23-
<command>systemd</command> uses <command>journald</command> as its logging system. The <command>systemd-journald</command> service is enabled by default.</para>
23+
<command>journald</command> is a &systemd; service responsible for collecting, indexing, and storing log data. The collected events include kernel messages, initrd (initial RAM disk) messages,
24+
service startup/shutdown, application events, and authentication and session data.
25+
</para>
26+
</abstract>
27+
</info>
28+
<para>
29+
On &productname; the <literal>systemd-journald</literal> service is enabled and started by
30+
default. The service logs the data into the journal described in <xref linkend="journal-what-it-is"./>
31+
</para>
32+
33+
34+
as its logging system. The <command>systemd-journald</command> service is enabled by default.</para>
2435
<para>All system events are written to the journal, a system service managed by <command>systemd-journald</command> service. This allows you to search and manage all system logs. It collects and stores logging data by maintaining structured indexed journals based on logging information received from the kernel, user processes, standard input, and system service errors. The journal records nearly every type of event generated on the system, including kernel messages, initrd (initial RAM disk) messages, service startup/shutdown, application events, and authentication and session data. Journal allows centralization and unification of logs from all sources, and it records events in structured manner which in turn helps identifying errors and in crash recovery.</para>
2536
<para><command>journalctl</command> is the command-line tool to view and analyze the logs from the <command>systemd-journald</command> service.</para></abstract>
2637

concepts/journal-structure.xml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- This file originates from the project https://github.com/openSUSE/doc-kit -->
3+
<!-- This file can be edited downstream. -->
4+
<!DOCTYPE topic
5+
[
6+
<!ENTITY % entities SYSTEM "../common/generic-entities.ent">
7+
%entities;
8+
]>
9+
<!-- refers to legacy doc: <add github link to legacy doc piece, if applicable> -->
10+
<!-- point back to this document with a similar comment added to your legacy doc piece -->
11+
<!-- refer to README.md for file and id naming conventions -->
12+
<!-- metadata is dealt with on the assembly level -->
13+
<topic xml:id="journal-what-it-is"
14+
role="concept" xml:lang="en"
15+
xmlns="http://docbook.org/ns/docbook" version="5.2"
16+
xmlns:its="http://www.w3.org/2005/11/its"
17+
xmlns:xi="http://www.w3.org/2001/XInclude"
18+
xmlns:xlink="http://www.w3.org/1999/xlink"
19+
xmlns:trans="http://docbook.org/ns/transclusion">
20+
<info>
21+
<title>About journal</title><!-- can be changed via merge in the assembly -->
22+
<!--add author's email address-->
23+
<meta name="maintainer" content="[email protected]" its:translate="no"/>
24+
<abstract><!-- can be changed via merge in the assembly -->
25+
<para>
26+
Journal is a centralization and unification of logs from all sources, and it stores events in structured manner which in turn helps identifying errors and in crash recovery.
27+
</para>
28+
</abstract>
29+
</info>
30+
<section xml:id="journal-what-it-is-location">
31+
<title>Where can I find the journal?</title>
32+
<para>
33+
By default, <literal>journald</literal> stores the collected data in the volatile memory in
34+
<filename>/run/log/journal</filename>, so after reboot the data is lost.
35+
</para>
36+
</section>
37+
<section xml:id="journal-what-it-is-structure">
38+
<title>The structure of the journal</title>
39+
<para>
40+
A paragraph of text, answering the question above and explaining the
41+
mechanism behind foo bar.
42+
</para>
43+
44+
</section>
45+
</topic>

0 commit comments

Comments
 (0)