Changes between Version 17 and Version 18 of LogViewerPlugin


Ignore:
Timestamp:
Oct 11, 2013, 10:17:13 PM (11 years ago)
Author:
izzy
Comment:

Updating Wiki page to reflect the latest changes

Legend:

Unmodified
Added
Removed
Modified
  • LogViewerPlugin

    v17 v18  
    2626The easiest way to install this plugin is:
    2727{{{
    28 easy_install http://trac-hacks.org/svn/logviewerplugin/0.11/trunk
     28#!bash
     29# Trac before "localization" started somewhere in 0.11:
     30easy_install http://trac-hacks.org/svn/logviewerplugin/branches/0.11
     31# Later Trac versions, including 0.12 and 1.0:
     32easy_install http://trac-hacks.org/svn/logviewerplugin/trunk
    2933}}}
    3034
     
    5357So what do those settings mean? Quite clear: `autoload` decides whether you want to turn this feature on (`true`) or not. By default, it is turned off. All the other `auto*` settings only apply if you set `autoload = true`.
    5458
    55 With the `autotail` setting you limit LogViewerPlugin to those many lines from the end of the file. Normally, 1000 lines will be enough - but if you want to show everything, simply set it to an empty value (as shown below for `defaultlevel`). Keep in mind that with a huge log file, the page will take some time to load - every time you call up LogViewerPlugin. So better keep this value to something reasonable, and do the unusual full display on demand only.
     59With the `autotail` setting you limit LogViewerPlugin to those many lines from the end of the file. Normally, 1000 lines will be enough - but if you want to show everything, simply set it to an empty value (as shown below for `defaulttail`). Keep in mind that with a huge log file, the page will take some time to load - every time you call up LogViewerPlugin. So better keep this value to something reasonable, and do the unusual full display on demand only.
    5660
    5761`autolevel` specifies the log level to display, and `autoup` decides whether higher priority levels (i.e. those with lower numbers) shall be included. Note that this is a numeric value (integer, to be more precise) - and reaches from 1=critical to 5=debug (including 2=error, and 4=info), with a default of 3=warning.