Is it possible to redirect the logs to a REST/gRPC service? How can we redirect the logs to a specified postgresql DB?