Yii 1.1: mongodblogviewer

List and filter the log records generated with EMongoDbLogRoute

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




  • 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

Widget config options - see code.


  • 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: 473 times
  • Created on: Jul 10, 2011
  • Last updated: Nov 1, 2011
  • Tags: mongodb