added logs to pgcli