home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / n / netplex / !Netplex / !Help / HTML / 04-log < prev    next >
Encoding:
Text File  |  1997-01-25  |  3.3 KB  |  58 lines

  1. <HTML>
  2.  
  3. <HEAD>
  4. <TITLE>Netplex - Log Files</TITLE>
  5. </HEAD>
  6.  
  7. <BODY TEXT="#000000" BGCOLOR="#ffffff" LINK="#004499" VLINK="#00224c" ALINK="#00cc00">
  8.  
  9. <H1><IMG SRC="images/world" ALIGN=ABSMIDDLE>  Log File</H1>
  10. <HR>
  11.  
  12. <P>Netplex records the details of all connections made, the name of the machine that connected, what time it connected, what files were retreived, etc.  These details are written to a log file which is maintained on behalf of Netplex (and other applications) by a utility program called <I>SysLog</I>.  You should have received SysLog with your copy of Netplex.  For more information on SysLog, you should refer to its documentation.</P>
  13.  
  14. <P>Netplex's log file can be viewed at any time simply by clicking ADJUST on the icon bar icon, whereupon it will be loaded into a text editor.  Each line in the log file is formatted like this :</P>
  15.  
  16. <PRE><CENTER><P>05 Oct 17:28:26 000 002 Connection from silver.netplex.net on port 1027</P></CENTER></PRE>
  17.  
  18. <P>To the left is the date and time that the log message was written.  The first number ('000') is the log level of the respective report.  With the default setup you will only see levels of 124 or less.  By adjusting the Netplex log level upwards (see the SysLog documentation) you will see progressively more and more detailed reports.</P>
  19.  
  20. <P>The next number ('002') is the socket number, by looking for the same number further along the log file you can see the progression of the request.  (The socket number may not always be present, for example with Uptimes reports where you will see an arrow).</P>
  21.  
  22. <P>The logs are divided into nine bands, each recording different events and different levels of detail.  They are :</P>
  23.  
  24. <DL>
  25. <DT>000 - Uptimes
  26. <DD>Records the times the server was started up and closed down.
  27. <DT>020 - Requests
  28. <DD>Records the requests made to the server: 'GET', 'HEAD' etc.
  29. <DT>040 - Who & What
  30. <DD>Records details of all connections made to the server, what files were served, what reports were generated, and a multitude of other information relating to the connection.  This is the 'core' log level.
  31. <DT>060 - Transfer speeds
  32. <DD>Records the bytes/second transfer rates achieved for the send and receive operations.  Figures are given for the entire lifetime of the connection; so the figures given for a persistent connection may represent many transfers.
  33. <DT>120 - Server errors
  34. <DD>Records all serious errors the server has suffered.
  35. <DT>140 - Client errors
  36. <DD>Records invalid requests made by clients.
  37. <DT>200 - Received headers
  38. <DD>Records the entire header as received from the client.
  39. <DT>220 - Sent headers
  40. <DD>Records the headers sent by the server.  (With CGI programs, no header or only a small header will be present).
  41. </DL>
  42.  
  43. <P>With the default setup all the levels up to, and including, <I>Server errors</I> will be active and the rest will be disabled.</P>
  44.  
  45. <P>The order of the information in the log file is not guaranteed, for example several headers could be mixed in with one another as Netplex parses them simultaneously.</P>
  46.  
  47. <HR>
  48.  
  49. <P ALIGN=CENTER>
  50. <A HREF="03-stat"><IMG SRC="images/buttons/bak" WIDTH=32 HEIGHT=32 BORDER=0 ALT="[ Previous ]"></A>
  51. <A HREF="index"><IMG SRC="images/buttons/up" WIDTH=32 HEIGHT=32 BORDER=0 ALT="[ Index ]"></A>
  52. <A HREF="05-info"><IMG SRC="images/buttons/fwd" WIDTH=32 HEIGHT=32 BORDER=0 ALT="[ Next ]"></A>
  53. </P>
  54.  
  55. </BODY>
  56.  
  57. </HTML>
  58.