[release-notes] syslogd is gone, here are some sample journalctl invocations.

Pete Travis immanetize at fedoraproject.org
Sun Oct 20 01:10:11 UTC 2013


commit acab86fd56d223faa8a55decdd6d4fa60fbcd7e3
Author: Pete Travis <immanetize at fedoraproject.org>
Date:   Sat Oct 19 19:09:58 2013 -0600

    syslogd is gone, here are some sample journalctl invocations.

 en-US/System_Daemons.xml |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 46 insertions(+), 0 deletions(-)
---
diff --git a/en-US/System_Daemons.xml b/en-US/System_Daemons.xml
index d83d524..a7ffeb6 100644
--- a/en-US/System_Daemons.xml
+++ b/en-US/System_Daemons.xml
@@ -7,6 +7,52 @@
 
 <section>
   <title>System Daemons</title>
+  <section id="system_daemons-nosyslog">
+    <title>Syslog removed from default installation</title>
+    <para>
+      <application>syslog</application> is no longer included in default installations. <systemitem>journald</systemitem> logging serves most use cases as well as, or better than, <systemitem>syslogd</systemitem>.
+    </para>
+    <para>
+      Users accustomed to checking <filename>/var/log/messages</filename> for system logs should instead use <command>journalctl</command>.
+      <segmentedlist>
+	<title>journalctl command examples</title>
+	<segtitle>new journalctl</segtitle>
+	<segtitle>old messages</segtitle>
+	<seglistitem>
+	  <seg>
+	    <command>jouralctl</command>
+	  </seg>
+	  <seg>
+	    <command>less /var/log/messages</command>
+	  </seg>
+	</seglistitem>
+	<seglistitem>
+	  <seg>
+	    <command>journalctl -f</command>
+	  </seg>
+	  <seg>
+	    <command>tail -f /var/log/messages</command>
+	  </seg>
+	</seglistitem>
+	<seglistitem>
+	  <seg>
+	    <command>journalctl --unit named.service</command>
+	  </seg>
+	  <seg>
+	    <command>grep named /var/log/messages</command>
+	  </seg>
+	</seglistitem>
+	<seglistitem>
+	  <seg>
+	    <command>journalctl -b</command>
+	  </seg>
+	  <seg>
+	    Shows logs from current boot, no simple equivalent.
+	  </seg>
+	</seglistitem>
+      </segmentedlist>
+    </para>
+  </section>
   <section>
     <title>systemd</title>
     <indexterm><primary>systemd</primary></indexterm>


More information about the docs-commits mailing list