Extract 'log' method
Add time zone to timestamp of log entries
Log to PostgreSQL database
Include exception messages in logs