[deployment-guide/comm-rel: 642/727] minor fixes in Log Files chapter

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 13:19:37 UTC 2010


commit 8d6d2664a4e6116d43564819927f1724af225cb0
Author: Martin Prpic <mprpic at redhat.com>
Date:   Mon Sep 13 16:49:04 2010 +0200

    minor fixes in Log Files chapter

 en-US/Log_Files.xml |   24 +++++++++---------------
 1 files changed, 9 insertions(+), 15 deletions(-)
---
diff --git a/en-US/Log_Files.xml b/en-US/Log_Files.xml
index 6a6dc48..581d935 100644
--- a/en-US/Log_Files.xml
+++ b/en-US/Log_Files.xml
@@ -53,7 +53,7 @@
         <command>logrotate</command>
       </primary>
     </indexterm>
-    <para>You may notice multiple files in the log file directory with numbers after them. These are created when the log files are rotated. Log files are rotated so their file sizes do not become too large. The <filename>logrotate</filename> package contains a cron task that automatically rotates log files according to the <filename>/etc/logrotate.conf</filename> configuration file and the configuration files in the <filename>/etc/logrotate.d/</filename> directory. By default, it is configured to rotate every week and keep four weeks worth of previous log files.</para>
+    <para>You may notice multiple files in the log file directory with numbers after them (e.g.: <filename>cron-20100906</filename>). These numbers represent a timestamp that has been added to a rotated log file. Log files are rotated so their file sizes do not become too large. The <filename>logrotate</filename> package contains a cron task that automatically rotates log files according to the <filename>/etc/logrotate.conf</filename> configuration file and the configuration files in the <filename>/etc/logrotate.d/</filename> directory. By default, it is configured to rotate every week and keep four weeks worth of previous log files.</para>
   </section>
   <section
     id="s1-logfiles-viewing">
@@ -78,7 +78,7 @@
     <note>
           <title>Note: Installing the <package>gnome-system-log</package> package</title>
           <para>In order to use the <application>Log File Viewer</application>, first ensure the <package>gnome-system-log</package> package is installed on your system by running, as root:</para>
-          <screen>~]#&#160;<command>yum install </command></screen>
+          <screen>~]#&#160;<command>yum install gnome-system-log</command></screen>
           <para>For more information on installing packages with Yum, refer to <xref linkend="sec-Installing"/>.</para>
     </note>
     <para>To start the <application>Log File Viewer</application>, go to <menuchoice><guimenu>Applications</guimenu><guimenuitem>System</guimenuitem><guimenuitem>Log File Viewer</guimenuitem></menuchoice>, or type the following command at a shell prompt:</para>
@@ -101,7 +101,6 @@
       <secondary>filtering</secondary>
     </indexterm>
     <figure
-      float="0"
       id="fig-redhat-logviewer">
       <title>
         <application>Log File Viewer</application>
@@ -109,9 +108,9 @@
       <mediaobject>
         <imageobject>
           <imagedata
+            align="center"
             fileref="images/redhat-logviewer.png"
-            format="PNG"
-            scalefit="1"/>
+            format="PNG"/>
         </imageobject>
         <textobject>
           <para>Log File Viewer</para>
@@ -127,7 +126,6 @@
     </indexterm>
     <para>The <application>Log File Viewer</application> application lets you filter any existing log file. Click on <guimenuitem>Filters</guimenuitem> from the menu and select <guimenuitem>Manage Filters</guimenuitem> to define or edit your desired filter.</para>
     <figure
-      float="0"
       id="fig-redhat-filters">
       <title>
         <application>Log File Viewer - Filters</application>
@@ -137,7 +135,7 @@
           <imagedata
             fileref="images/redhat-filters.png"
             format="PNG"
-            scalefit="1"/>
+            align="center"/>
         </imageobject>
         <textobject>
           <para>Log File Viewer - Filters</para>
@@ -146,7 +144,6 @@
     </figure>
     <para>Adding or editing a filter lets you define its parameters as is shown in <xref linkend="fig-redhat-filter-sample"/>.</para>
     <figure
-      float="0"
       id="fig-redhat-filter-sample">
       <title>
         <application>Log File Viewer - Defining a Filter</application>
@@ -156,7 +153,7 @@
           <imagedata
             fileref="images/redhat-filter-sample.png"
             format="PNG"
-            scalefit="1"/>
+            align="center"/>
         </imageobject>
         <textobject>
           <para>Log File Viewer - Defining a Filter</para>
@@ -199,7 +196,6 @@
       When you have at least one filter defined, you may select it from the <guilabel>Filters</guilabel> menu and it will automatically search for the strings you have defined in the filter and highlight/hide every successful match in the log file you are currently viewing. 
     </para>
     <figure
-      float="0"
       id="fig-redhat-filter-enable">
       <title>
         <application>Log File Viewer - Enabling a Filter</application>
@@ -209,7 +205,7 @@
           <imagedata
             fileref="images/redhat-filter-enable.png"
             format="PNG"
-            scalefit="1"/>
+            align="center"/>
         </imageobject>
         <textobject>
           <para>Log File Viewer - Enabling a Filter</para>
@@ -225,7 +221,6 @@
     <title>Adding a Log File</title>
     <para>To add a log file you wish to view in the list, select <menuchoice><guimenu>File</guimenu><guimenuitem>Open</guimenuitem></menuchoice>. This will display the <guilabel>Open Log</guilabel> window where you can select the directory and filename of the log file you wish to view.<xref linkend="fig-redhat-logviewer-add"/> illustrates the <guimenu>Open Log</guimenu> window.</para>
     <figure
-      float="0"
       id="fig-redhat-logviewer-add">
       <title>Log File Viewer - Adding a Log File</title>
       <mediaobject>
@@ -233,7 +228,7 @@
           <imagedata
             fileref="images/redhat-logviewer-add.png"
             format="PNG"
-            scalefit="1"/>
+            align="center"/>
         </imageobject>
         <textobject>
           <para>Log File Viewer - Adding a Log File</para>
@@ -266,7 +261,6 @@
     <para>
       <application>Log File Viewer</application> monitors all opened logs by default. If a new line is added to a monitored log file, the log name appears in bold in the log list. If the log file is selected or displayed, the new lines appear in bold at the bottom of the log file. <xref linkend="fig-redhat-logviewer-monitoring"/> illustrates a new alert in the <guilabel>cron</guilabel> log file and in the <guilabel>messages</guilabel> log file. Clicking on the <guimenuitem>cron</guimenuitem> log file displays the logs in the file with the new lines in bold.</para>
     <figure
-      float="0"
       id="fig-redhat-logviewer-monitoring">
       <title>Log File Viewer - New Log Alert</title>
       <mediaobject>
@@ -274,7 +268,7 @@
           <imagedata
             fileref="images/redhat-logviewer-monitoring.png"
             format="PNG"
-            scalefit="1"/>
+            align="center"/>
         </imageobject>
         <textobject>
           <para>Log File Viewer - New Log Alert</para>


More information about the docs-commits mailing list