wiki:LogViewerPlugin

Version 2 (modified by izzy, 14 years ago) (diff)

--

View the trac.log file via the web frontend

Description

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.

Be careful with large log files ;)

Bugs/Feature Requests

Existing bugs and feature requests for LogViewerPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:logviewerplugin here].

Source

You can check out LogViewerPlugin from here using Subversion, or browse the source with Trac.

Installation

The easiest way to install this plugin is:

easy_install http://trac-hacks.org/svn/logviewerplugin/0.11/trunk

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.

Moreover, you will need to enable the plugin for your trac environment(s):

[components]
logviewer.* = enabled

There's no more configuration required.

Example

Hell, what example? OK: Here is what it may look like, having selected "Warnings and above":

Viewing selected log entries

Recent Changes

17738 by rjollos on 2020-05-12 06:57:04
TracLogViewer 0.4dev: Translate panel name

Refs #13816.

17737 by rjollos on 2020-05-12 06:17:58
TracLogViewer 0.4dev: Fix missing import from r17736

Refs #13816.

17736 by rjollos on 2020-05-12 05:06:57
TracLogViewer 0.4dev: Refactor

Start adapting to Trac 1.4 API.

Refs #13816.

(more)

Author/Contributors

Author: izzy
Contributors:

Attachments (3)

Download all attachments as: .zip