Agile Web Development

Build it. Launch it. Love it.

DB Log Cleaner

Originally released as PostgreLogCleaner, Copyright (c) 2007 Sergey Kojin, released under the MIT license

Revisions renamed to DB_Log_Cleaner and Copyright 2007 t.e.morgan License: MIT

History

This plugin was originally released by Sergey Kojin. I have extended it to filter more PostgreSQL logs as well as to filter MySQL's logs. Sergey did not include any contact information so I decided to release this directly, but to rename it to avoid any confusion. Many thanks to Sergey for conceiving of this plugin and making it available. I'm sure extending it was easier than the initial implementation so credit goes to Sergey.

What is it

A basic plugin that will automatically skip logging of PostgreSQL and MySQL queries about the schema. These only show up in development mode by default, but they can become annoying.

Installation

Simply add this plugin into your rails app.

To add to your rails app:

./script/plugin install -x http://svn.iprog.com/projects/rails/plugins/db_log_cleaner

(drop the -x if you don't use subversion in your project or don't want to manage plugins via svn:externals)

Vitals

Home http://iprog.com/project/db_log_cleaner
Repository http://svn.iprog.com/projects/rails/plugins/db_log_cleaner
License Rails' (MIT)
Tags Tag_red clean log mysql postgres
Rating (5 votes)
Owner thomas morgan
Created 15 August 2007

Comments

Add a comment