[gnome-user-docs] Update session-debug.page
- From: Petr Kovář <pmkovar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-user-docs] Update session-debug.page
- Date: Tue, 28 Jan 2014 13:25:18 +0000 (UTC)
commit cb23c03c2eb8457704a1485d3c903ba9a70339fc
Author: Petr Kovar <pkovar redhat com>
Date: Tue Jan 28 13:24:47 2014 +0000
Update session-debug.page
system-admin-guide/C/session-debug.page | 61 ++++++++++++++++++-------------
1 files changed, 35 insertions(+), 26 deletions(-)
---
diff --git a/system-admin-guide/C/session-debug.page b/system-admin-guide/C/session-debug.page
index 9935d87..1c35458 100644
--- a/system-admin-guide/C/session-debug.page
+++ b/system-admin-guide/C/session-debug.page
@@ -1,11 +1,10 @@
<page xmlns="http://projectmallard.org/1.0/"
xmlns:its="http://www.w3.org/2005/11/its"
- type="topic" style="task"
- id="session-debug">
+ type="topic" style="task" id="session-debug">
<info>
- <link type="guide" xref="index#tools" />
- <revision version="0.1" date="2012-07-24" status="stub"/>
+ <link type="guide" xref="index#session" />
+ <revision version="0.1" date="2014-01-28" status="draft"/>
<credit type="author copyright">
<name>Matthias Clasen</name>
@@ -17,40 +16,50 @@
<email its:translate="no">jana svarova gmail com</email>
<years>2013</years>
</credit>
+ <credit type="editor">
+ <name>Petr Kovar</name>
+ <email its:translate="no">pknbe volny cz</email>
+ <years>2014</years>
+ </credit>
<desc>What happened to <file>~/.xsession-errors</file>?</desc>
</info>
- <title>Debugging session problems</title>
+ <title>Debug session problems</title>
<comment>
<cite date="2013-07-19">Kat</cite>
- <p>systemd is not a dependancy of GNOME: this page should instruct the user
+ <p>systemd is not a dependency of GNOME: this page should instruct the user
to look in the syslog, and then expland that if systemd is running, the
logs will be redirected to the journal.</p>
</comment>
-<comment>
- <cite date="2012-07-24" href="mailto:mdhillca gmail com">Michael Hill</cite>
- <p>Adapted from l-g-o SysAdminGuide page. Add link for XDG directories
- spec.</p>
-</comment>
-
<p>If you want to find more information about a problem in a session or want
- to fix it, go directly to the <app>systemd</app> journal, which stores
- log data in a binary format.</p>
-
-<section id="session-log">
- <title>Session.log no longer exists</title>
- <p>Previously, the debugging information was stored in the session.log file.
- This file no longer exists on <app>systemd</app>-using systems. The content
- is now stored directly to the <app>systemd</app> journal. To get the logs
- back, you can use the <cmd>journalctl _UID=<your-uid></cmd> command.</p>
- <p>You can find more information on the <app>journalctl</app> man page:
- run <link href="man:journalctl"><cmd>man journalctl</cmd></link>
- in the terminal or
- <link href="http://www.freedesktop.org/software/systemd/man/journalctl.html">
- view the man page online</link>.</p>
+ to fix it, consult the system log, which stores log data for your user session
+ and applications.</p>
+
+ <p>The <file>~/.xsession-errors</file> X session log file has been deprecated
+ and is no longer used.</p>
+
+<section id="session-log-systemd">
+ <title>View session log on systemd-based systems</title>
+ <p>On systemd-based systems, you can find the session log data in the
+ <app>systemd</app> journal, which stores the data in a binary format. To view
+ the logs, use the <cmd>journalctl</cmd> command.</p>
+
+ <steps>
+ <title>To view your user session logs:</title>
+ <item><p>Determine your user ID (<sys>uid</sys>) by running the following
+ command: </p>
+ <screen><output>$ </output><input>id --user</input>
+1000</screen></item>
+ <item><p>View the journal logs for the user ID determined above:</p>
+ <screen><output>$ </output><input>journalctl _UID=1000</input></screen>
+ </item>
+ </steps>
+
+ <p>For more information on the systemd journal, see the
+ <link href="man:journalctl"><cmd>journalctl</cmd></link>(1) man page.</p>
</section>
</page>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]