Yii 1.1: mongodblogviewer

List and filter the log records generated with EMongoDbLogRoute
2 followers

NOTE: This extension is now part of the directmongosuite

A widget to list and filter the log records from the mongoDB generated with the extension mongodblogroute

  • Allows to filter the records by level and category
  • Search within the log entries
  • Clear log

Screenshot

Requirements

Usage

  • Install and configure mongodblogroute
  • Extract the files of this extension under protected/extensions

  • Create a controller action and add the lines like below.

function actionShowLog()
 {
     //capture the widget output
     $output = $this->widget('ext.mongodblogviewer.EMongoDbLogViewer',array(),true);
 
     //render the widget into the controllers layout
     $this->renderText($output);
 }

Widget config options - see code.

Changelog

  • v1.1 added 'Clear log' button; Changed handling of pagination GET/POST

Be the first person to leave a comment

Please to leave your comment.

Create extension
  • Yii Version: 1.1
  • License: New BSD License
  • Developed by: Joblo
  • Category: Logging
  • Votes: +1
  • Downloaded: 390 times
  • Created on: Jul 10, 2011
  • Last updated: Nov 1, 2011
  • Tags: mongodb