PostgreSQL log analyzer