Changes between Version 14 and Version 15 of LogViewerPlugin


Ignore:
Timestamp:
Nov 25, 2009, 9:25:07 PM (14 years ago)
Author:
izzy
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LogViewerPlugin

    v14 v15  
    33== Description ==
    44
    5 This plugin allows you to view your `trac.log` logfile without shell access, just via the Web-UI Admin interface. You can select to only display messages from a specified log level (e.g. only warnings), optionally including higher levels. So if you select "Debug" and all higher levels, this means to display the entire log. Moreover, you may restrict the output to the latest N lines, and even filter for lines containing a specified string or even matching a regular expression.
     5This plugin allows you to view your `trac.log` logfile without shell access to the server, just via the Web-UI Admin interface. You can select to only display messages from a specified log level (e.g. only warnings), optionally including higher levels. So if you select "Debug" and all higher levels, this means to display the entire log. Moreover, you may restrict the output to the latest N lines, and even filter for lines containing a specified string or even matching a regular expression.
    66
    77Be careful with large log files ;)
     
    2929}}}
    3030
    31 You can also checkout the code from the repository, or download and unpack the zipped source (see above) - and then run either `easy_install` or `python setup.py` from where the `setup.py` file resides.
     31If you want to be very sure to get stable code, you can alternatively use the latest tag, replacing `/trunk` by e.g. `/tags/0.2` (for v0.2). You can also checkout the code from the repository, or download and unpack the zipped source (see above) - and then run either `easy_install` or `python setup.py` from where the `setup.py` file resides.
    3232
    3333Moreover, you will need to enable the plugin for your trac environment(s):
     
    7777== Example ==
    7878
    79 Hell, what example? OK: Here is what it may look like, having selected "Warnings and above":
     79Hell, what example? OK: Here is what it may look like, having selected "Info and above":
    8080
    8181[[Image(logviewer.jpg)]]
    8282
    83 As you can see, the log lines are quite colorful: each log level has its distinct color assigned. If you don't like my choice of colors here, you can easily apply your own style sheets. All elements can be identified without problems: the different log levels use classes, and even the other elements of the GUI use classes and ids.
     83As you can see, the log lines are quite colorful: each log level has its distinct color assigned. If you don't like my choice of colors here, you can easily apply your own style sheets. All elements can be identified without problems: the different log levels use classes, and even the other elements of the GUI use classes and ids. Furthermore, in this example you might note that obviously nothing was logged at "Info" level - nevermind, it works.
    8484
    8585== User Comments ==