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
Requirements ¶
- Developed with Yii 1.1.8
- Installed extension mongodblogroute
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
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.