Agile Web Development

Build it. Launch it. Love it.

PostgreLogCleaner

Make ActiveRecord logs more short and clean by removing system SQL logs lines. That actually only for PostgreSQL.

Example of Removed Log Line

 SQL (0.000000)    SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
 FROM pg_attribute a LEFT JOIN pg_attrdef d
 ON a.attrelid = d.adrelid AND a.attnum = d.adnum
 WHERE a.attrelid = 'categories'::regclass
 AND a.attnum > 0 AND NOT a.attisdropped
 ORDER BY a.attnum

Vitals

Home http://code.google.com/p/postgrelogcleaner/
Repository http://postgrelogcleaner.googlecode.com/svn/trunk/postgre_log_cleaner/
License Rails' (MIT)
Tags Tag_red log postgre sql
Rating (2 votes)
Owner Sergey Kojin
Created 20 April 2007

Comments

Add a comment