Warning, /system/ksystemlog/doc/index.docbook is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" ?> 0002 <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" "dtd/kdedbx45.dtd" [ 0003 <!ENTITY % addindex "IGNORE"> 0004 <!ENTITY % English "INCLUDE"><!-- change language only here --> 0005 ]> 0006 0007 <book id="ksystemlog" lang="&language;"> 0008 0009 <bookinfo> 0010 <title>The &ksystemlog; Handbook</title> 0011 0012 <authorgroup> 0013 <author> 0014 <firstname>Nicolas</firstname><surname>Ternisien</surname> 0015 <affiliation> 0016 <address><email>nicolas.ternisien@gmail.com</email></address> 0017 </affiliation> 0018 </author> 0019 </authorgroup> 0020 0021 <!-- TRANS:ROLES_OF_TRANSLATORS --> 0022 0023 <copyright> 0024 <year>2008</year> 0025 <holder>Nicolas Ternisien</holder> 0026 </copyright> 0027 0028 <legalnotice>&FDLNotice;</legalnotice> 0029 0030 <date>2016-04-17</date> 0031 <releaseinfo>0.4 (Applications 16.04)</releaseinfo> 0032 0033 <abstract> 0034 <para>&ksystemlog; is a system log viewer tool by &kde;. This program is developed for beginner users 0035 who don't know how to find information about their system or where the log files are located. 0036 It is also designed for advanced users who want to quickly see problems occuring on their server. 0037 </para> 0038 0039 </abstract> 0040 0041 <keywordset> 0042 <keyword>KDE</keyword> 0043 <keyword>logs</keyword> 0044 <keyword>ksystemlog</keyword> 0045 <keyword>security</keyword> 0046 <keyword>cron</keyword> 0047 <keyword>boot</keyword> 0048 <keyword>ssh</keyword> 0049 <keyword>postfix</keyword> 0050 <keyword>apache</keyword> 0051 <keyword>samba</keyword> 0052 </keywordset> 0053 0054 </bookinfo> 0055 <!-- 0056 GSoC 2015 (add journald support to KSystemLog) http://vyacheslav-matyushin.blogspot.de/ 0057 GUI stuff from git log 0058 Switch default mode to journald. Add journald to default toolbar layout 0059 Added HTTPS support for remote journals 0060 Added UI to enable HTTPS for remote journals 0061 Local analyzer display filter name in tab and window title 0062 Network journal submenus now contain "Filter by" submenus 0063 Implemented configuration UI and saving/restoring of remote journals 0064 Hide category submenus if they are empty 0065 Hide menu entries and actions for modes with missing log files 0066 --> 0067 <chapter id="using_ksystemlog"> 0068 <title>Using &ksystemlog;</title> 0069 0070 <sect1 id="introduction"> 0071 <title>Introduction</title> 0072 0073 <sect2> 0074 <title>What is &ksystemlog; ?</title> 0075 <para>&ksystemlog; is a system log viewer tool.</para> 0076 0077 <para>&ksystemlog; helps users understand what their machine does in the background. &ksystemlog; aims to simplify the reading of system log files. This program is developed for beginner users 0078 who don't know how to find information about their system or where the log files are located in their computer. 0079 </para> 0080 0081 <para> 0082 But it is also designed for advanced users who want to quickly see problems occuring on their server. 0083 &ksystemlog; tries to provide some advanced features to allow sorting and reading logs from specifical programs. 0084 </para> 0085 0086 <screenshot> 0087 <screeninfo>&ksystemlog; main screen</screeninfo> 0088 <mediaobject> 0089 <imageobject> 0090 <imagedata fileref="main-screen.png" format="PNG"/> 0091 </imageobject> 0092 <textobject> 0093 <phrase>&ksystemlog; main screen</phrase> 0094 </textobject> 0095 </mediaobject> 0096 </screenshot> 0097 0098 </sect2> 0099 0100 <sect2> 0101 <title>Features</title> 0102 0103 <para> 0104 In its current version, &ksystemlog; 0.4 has quite a number of helpful 0105 features, such as: 0106 </para> 0107 0108 <itemizedlist> 0109 <listitem><simpara>Support for many different log files type, with the support of Syslog server formating, Samba</simpara></listitem> 0110 <listitem><simpara>Tabbed view to display several logs at the same time</simpara></listitem> 0111 <listitem><simpara>Reading one log mode from multiple sources</simpara></listitem> 0112 <listitem><simpara>Auto-display of newly logged lines in bold</simpara></listitem> 0113 <listitem><simpara>Group by different criteria (log level, log file, process, hour, ...)</simpara></listitem> 0114 <listitem><simpara>Detailed information for each log lines</simpara></listitem> 0115 <listitem><simpara>Adding a log entry manually</simpara></listitem> 0116 <listitem><simpara>Filtering by priority</simpara></listitem> 0117 </itemizedlist> 0118 0119 <para> 0120 It supports the following log files from your system : 0121 </para> 0122 0123 <itemizedlist> 0124 <listitem><simpara>Syslog logs (system messages)</simpara></listitem> 0125 <listitem><simpara>X.org logs</simpara></listitem> 0126 <listitem><simpara>Kernel logs</simpara></listitem> 0127 <listitem><simpara>Authentication logs</simpara></listitem> 0128 <listitem><simpara>ACPID logs</simpara></listitem> 0129 <listitem><simpara>Cups logs</simpara></listitem> 0130 <listitem><simpara>Postfix logs</simpara></listitem> 0131 <listitem><simpara>Apache logs</simpara></listitem> 0132 <listitem><simpara>Samba logs</simpara></listitem> 0133 <listitem><simpara>Daemons logs</simpara></listitem> 0134 <listitem><simpara>Cron logs</simpara></listitem> 0135 <listitem><simpara>XSessions logs</simpara></listitem> 0136 <listitem><simpara>Systemd / Journald logs</simpara></listitem> 0137 </itemizedlist> 0138 0139 <para> 0140 Many other features are included and will be discussed in the appropriate chapters of this manual. 0141 </para> 0142 0143 </sect2> 0144 0145 </sect1> 0146 0147 0148 <sect1 id="reading"> 0149 <title>Reading logs with &ksystemlog;</title> 0150 0151 <para> 0152 As you will see in the following screenshots, &ksystemlog; provides features to easily sort and filter log lines. 0153 We are now going to describe them in the next parts of this documentation. 0154 </para> 0155 0156 <sect2 id="getting_started"> 0157 <title>Getting started</title> 0158 0159 <para> 0160 When you start &ksystemlog;, by default it tries to open the most useful log, the <guilabel>System Log</guilabel>. 0161 If it does not display it and pops up a message box, you probably forgot to launch &ksystemlog; as an administrator user (commonly named root). 0162 The log files are usually available in the /var/log folder, which is often protected against normal users. 0163 In the settings dialog you can select another log to open at startup. 0164 </para> 0165 0166 <screenshot> 0167 <screeninfo>&ksystemlog; first launch</screeninfo> 0168 <mediaobject> 0169 <imageobject> 0170 <imagedata fileref="first-opening.png" format="PNG"/> 0171 </imageobject> 0172 <textobject> 0173 <phrase>&ksystemlog; first launch</phrase> 0174 </textobject> 0175 </mediaobject> 0176 </screenshot> 0177 </sect2> 0178 0179 <sect2 id="easy_reading"> 0180 <title>Reading log files easily</title> 0181 0182 <sect3 id="sorting"> 0183 <title>Sorting log lines</title> 0184 <para> 0185 Every log lines are displayed in a list view, which can be sorted by clicking on the wanted column. Another click will sort it in the other order. 0186 If you want to sort the list as it was on the first loading, you can use the <menuchoice><guimenu>Edit</guimenu><guimenuitem>Reload</guimenuitem></menuchoice> menu item, or simply 0187 click on the first column of the list, generally named <guilabel>Date</guilabel>, to sort the list in the ascending order. Even if your log mode 0188 does not use time to describe each log lines, for example the <guilabel>X.org Log</guilabel>, the list will be correctly sorted, 0189 because &ksystemlog; keeps an internal order of the list. 0190 </para> 0191 </sect3> 0192 0193 <sect3 id="filtering"> 0194 <title>Filtering log lines</title> 0195 0196 <screenshot> 0197 <screeninfo>Filtering on a specific process</screeninfo> 0198 <mediaobject> 0199 <imageobject> 0200 <imagedata fileref="filter-process.png" format="PNG"/> 0201 </imageobject> 0202 <textobject> 0203 <phrase>Filtering on a specific process</phrase> 0204 </textobject> 0205 </mediaobject> 0206 </screenshot> 0207 0208 <para> 0209 You can also use the filter bar to filter according to the selected criteria and the typed string. Simply type something in the filter, and the list will automatically 0210 be modified to only display lines which match your filter string. By default, the combo box next to the filter selects <guilabel>All</guilabel>, which means that 0211 a line will be displayed only if one of its columns contains the filter string. 0212 </para> 0213 0214 <para> 0215 You can select another field to filter only this column of the list. For example, in the <guilabel>System Log</guilabel>, by selecting 0216 the <guilabel>Process</guilabel> column, and writing a process name in the filter bar, &ksystemlog; will display every log lines sent by this process. 0217 </para> 0218 </sect3> 0219 0220 </sect2> 0221 0222 <sect2 id="other_features"> 0223 <title>Other features</title> 0224 0225 <sect3 id="colorizing"> 0226 <title>Colorizing log lines</title> 0227 0228 <para> 0229 This option is activated by default and helps you see which lines have a higher level than the others. For example, <guilabel>Error</guilabel> level will be highlighted in a different color than the <guilabel>Notice</guilabel> one. This feature can be disabled in the configuration dialog. 0230 </para> 0231 0232 </sect3> 0233 0234 <sect3 id="hiding_pid"> 0235 <title>Hiding the process identifier</title> 0236 0237 <para> 0238 If you are only interested in a specific process (for example in the <guilabel>System Log</guilabel> or the <guilabel>Cron Log</guilabel>), you can hide its PID 0239 in the <guilabel>Process</guilabel> column. This can be useful if you are trying to analyze the output of a specific command, like a Samba server. In this case, please use the <link linkend="filtering">Filter Bar</link>. 0240 </para> 0241 0242 </sect3> 0243 <sect3 id="send_email"> 0244 <title>Send logd via email</title> 0245 <para> 0246 The context menu has an action <guilabel>Email Selection</guilabel>. Select relevant lines in the log and use this action to open the composer window of your default email client prefilled with the selection. 0247 </para> 0248 0249 </sect3> 0250 </sect2> 0251 <sect2 id="monitoring_management"> 0252 <title>Monitoring Management</title> 0253 0254 <para> 0255 &ksystemlog; provides an easy way to control the reading and the monitoring of log files. Indeed, sometimes you only need to analyze some existing log lines. In this case, 0256 you cannot tolerate the appearance of a new line. You can deactivate the monitoring of log files by clicking on the <guibutton>Stop</guibutton> 0257 button. This stops the opened log files from being updated while still letting them get filled by other processes. Of course, you can reactivate the monitoring by 0258 clicking on <guibutton>Resume</guibutton>, which will display the log lines added since the last pause. 0259 </para> 0260 0261 <para> 0262 Furthermore, to focus on the newly appeared log lines, you can toggle the <guimenuitem>Scroll to New Lines</guimenuitem> option. 0263 </para> 0264 </sect2> 0265 0266 <sect2 id="multiple_logs"> 0267 <title>Management of several opened tabs</title> 0268 0269 <para> 0270 &ksystemlog; allows you to open several log modes by opening multiple tabs. For this, simply use the <guimenu>Window</guimenu> menu to manage and open 0271 new tabs. Once you have selected the right tab, simply choose the desired log mode using the dedicated menu. 0272 0273 </para> 0274 </sect2> 0275 </sect1> 0276 0277 </chapter> 0278 0279 <chapter id="credits"> 0280 0281 <title>Credits and License</title> 0282 0283 <para>&ksystemlog;</para> 0284 <para> 0285 &ksystemlog;, Copyright 2008 by Nicolas Ternisien 0286 </para> 0287 0288 <para>Contributors:</para> 0289 <itemizedlist> 0290 <listitem><simpara>Patrick Dreker : Ideas, Code Improvements.</simpara></listitem> 0291 <listitem><simpara>Bojan : SSH Log mode, Printing.</simpara></listitem> 0292 </itemizedlist> 0293 0294 <para> 0295 <emphasis>Special thanks to all translators of &ksystemlog;.</emphasis> 0296 </para> 0297 0298 <!-- TRANS:CREDIT_FOR_TRANSLATORS --> 0299 0300 &underFDL; <!-- FDL: do not remove --> 0301 &underGPL; <!-- GPL License --> 0302 0303 </chapter> 0304 0305 &documentation.index; 0306 </book> 0307 0308 <!-- 0309 Local Variables: 0310 mode: sgml 0311 sgml-minimize-attributes:nil 0312 sgml-general-insert-case:lower 0313 sgml-indent-step:0 0314 sgml-indent-data:nil 0315 End: 0316 0317 // vim:ts=2:sw=2:tw=78:noet 0318 -->