Changes between Version 14 and Version 15 of LogViewerPlugin
- Timestamp:
- Nov 25, 2009, 9:25:07 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LogViewerPlugin
v14 v15 3 3 == Description == 4 4 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.5 This 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. 6 6 7 7 Be careful with large log files ;) … … 29 29 }}} 30 30 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.31 If 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. 32 32 33 33 Moreover, you will need to enable the plugin for your trac environment(s): … … 77 77 == Example == 78 78 79 Hell, what example? OK: Here is what it may look like, having selected " Warningsand above":79 Hell, what example? OK: Here is what it may look like, having selected "Info and above": 80 80 81 81 [[Image(logviewer.jpg)]] 82 82 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. 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. Furthermore, in this example you might note that obviously nothing was logged at "Info" level - nevermind, it works. 84 84 85 85 == User Comments ==