Is there a method to log all output to PostgreSQL database? If so any pointers to some docs please? tia William