[FIX] allow `--log-db` to connect to another postgresql server than the one setted in config