Changes between Version 3 and Version 4 of LogViewerPlugin
- Timestamp:
- Nov 3, 2009, 7:49:01 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LogViewerPlugin
v3 v4 42 42 You find the ''Log Viewer'' on the ''Admin'' page in the ''General'' section (see [#Example below]). Having this page called, you select the log level you wish to see the entries for, using the drop-down. Optionally, you may chose to display all "higher priority" as well (where "higher" means the entries on top of the one you selected). 43 43 44 An additional filter option is provided by the input box on the right: Here you may enter a search term - only lines including that term will be displayed then. 44 Optionally, you now can further restrict the amount of lines displayed: The ''Tail'' input works similar to the `tail -f` command, only showing the last N lines. If you input nothing here, this restriction is skipped - but if you do, the following search will be limited to these lines. In the ''Search'' input box you can enter a term which must be found in a line to be displayed. You can also use regular expressions here, in which case you must check the corresponding button. If you additionally check the "not" button, that search will be inverted - i.e. only lines ''not'' containing/matching your search term will be shown. 45 46 Oh, btw: hovering your mouse over the input areas will give you a short tooltip, in case you forgot these meanings ;) 45 47 46 48 Once you made your selections, push the button - and the matching lines from the `trac.log` will be displayed. … … 51 53 52 54 [[Image(logviewer.jpg)]] 55 56 As you can see, the log lines are quite colorful: different colors have been applied to different log levels. 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. 53 57 54 58 == User Comments ==