Connect logs to a different DB if config is present