logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From psm...@apache.org
Subject cvs commit: jakarta-log4j/src/java/org/apache/log4j/chainsaw/help tutorial.html
Date Mon, 22 Sep 2003 06:56:05 GMT
psmith      2003/09/21 23:56:05

  Modified:    src/java/org/apache/log4j/chainsaw/help tutorial.html
  Added more detail to the Tutorial HTML.
  Revision  Changes    Path
  1.2       +55 -10    jakarta-log4j/src/java/org/apache/log4j/chainsaw/help/tutorial.html
  Index: tutorial.html
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/chainsaw/help/tutorial.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- tutorial.html	19 Sep 2003 08:15:33 -0000	1.1
  +++ tutorial.html	22 Sep 2003 06:56:05 -0000	1.2
  @@ -5,18 +5,63 @@
  -<table width="100%">
  -<tr><td class="TableTitle" bgcolor="#000089"><font color="white">Tutorial</font></td></tr>
  -<p>Welcome to the Chainsaw v2 Tutorial.  Here you will learn how to effectively utilise
the many features of Chainsaw</p>
  +<p>Welcome to the Chainsaw v2 Tutorial.  Here you will learn how to effectively utilise
the many features of Chainsaw.</p>
  -<h2>What you will need</h2>
  -<li>1 cup of your favourite brew</li>
   <p>The built-in tutorial installs several "pretend" Receiver plugins that generate
some example LoggingEvents and post
  -them into Log4j just like a real Receiver.  If you would like to read more about Receivers
first, then <!--<a href="Receivers.html">-->click here.<!--</a>-->
  -<p>When you are ready to begin the tutorial, <a href="StartTutorial">click
  +them into Log4j just like a real Receiver.  </p>
  +<li>If you would like to read more about Receivers first, then click here. <font
  +<li>When you are ready to begin the tutorial, <a href="StartTutorial">click
  +<p>After you have said yes to the confirmation dialog, you should see 3 new tabs
  +in the main GUI. This is because the tutorial has installed 3 'Generator' Receivers into
the Log4j engine.  
  +this by showing the Receivers panel accessible either via the toolbar or the menu. The
icon for this action is <img src="../icons/channelexplorer_satellite.gif"></li>
  +Any installed receiver installed into Log4j, either via an external configuration file,
or via the GUI, is shown in this panel.  You 
  +can create new Receivers, stop existing ones, or adjust their threshold.  
  +<li>Try right clicking on a specific receiver and looking at the available menu options,
but don't change anything just yet.</li>
  +<li>When you are finished looking at the Receiver panel, hide it by clicking the
'X" close icon in the top right corner, 
  +or toggling the Receivers panel by clicking the icon in the toolbar, or using the menu.</li>
  +You may have noticed that each of the tabs have specific names ("Generator X").  Chainsaw
automatically looks inside
  +each received LoggingEvent for a special Application property to determine which tab to
route an event to.  If it cannot find
  +this property, it attempts to use a secondary property usually added via the SocketAppender
or SocketHubAppender which
  +identify the remote host of these events.  If neither of these are found, Chainsaw routes
events to a default "Unknown" tab.  You can learn more about
  +this whole process here.  <font color="red"><b>TODO</b></font>
  +You may also notice that the tabs have the receiver icon (<img src="../icons/channelexplorer_satellite.gif">).
 This is to indicate that new events are arriving for this tab.  Additionally
  +if new events are not arriving, but there are events newer than the last time you looked
at this tab, then the <img src="../icons/Information16.gif"> icon is shown.
  +<li>Click on each tab and see how the icons shown in the tabs change.</li>
  +<li>When you click on a specific tab, you should notice the events are streaming
  +<h2>Log Tabs</h2>
  +<p>Each tab contains a series of LoggingEvents routed to it via the Chainsaw internals.
This visual panel
  +is known as the <b>Log Panel</b>. It contains 3 main areas:
  +<li><b>Logger Tree Panel</b> - the left hand panel contains all the distinct
loggers known from the
  +received LoggingEvents represented in the natural dotted hierarchy.</li>
  +<li><b>Events Panel</b> - The top/central panel contains a table of all
the events received.</li>
  +<li><b>Event Detail Panel</b> - The bottom/central panel contains more
details information of the currently selected event in the table.</li>
  +The Logger Tree & Event Detail panels can be hidden by clicking on the 'X' close icon
in their respective top left corners, or
  +by using the toolbar or menus.  They are also containing within a Split area, so you can
adjust the amount
  +of visual space they take up to your liking.
  +<li>Try hiding/showing/resizing the Logger Tree and Event Detail panels to see how
they affect your viewing area.

To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org

View raw message