add logging to pg-cli