GODT-2016: added more logging of gRPC events at info level.

This commit is contained in:
Xavier Michelon
2022-11-02 15:19:04 +01:00
parent 8ca849b7a8
commit cb871ce4bc
3 changed files with 13 additions and 6 deletions

View File

@ -43,7 +43,9 @@ void QMLBackend::init(GRPCConfig const &serviceConfig)
{
users_ = new UserList(this);
app().grpc().setLog(&app().log());
Log& log = app().log();
log.info(QString("Connecting to gRPC service"));
app().grpc().setLog(&log);
this->connectGrpcEvents();
QString error;