Added mode parameter to PSQL logging