semlanik / qtprotobuf

Protobuf generator and bindings for Qt framework
https://semlanik.github.io/qtprotobuf
MIT License
170 stars 37 forks source link

Unnecessary Logs in Application Output #267

Closed lmonette closed 2 years ago

lmonette commented 2 years ago

Describe the bug My QT5.14.2 application under ubuntu display those 2 lines in repetition under the Application Output of QTCreator: setCachingEnabled: 32 bytesDownloaded QNetworkReplyImpl: backend error: caching was enabled after some bytes had been written

It make it harder to develop, because my console is always full of those logs.

To Reproduce Compile under unbutu with QT5.14.2 Run an app that connect to grpc over http. Implement a qml getter through grpc.

Expected behavior A clean Application Output

Environment:

semlanik commented 2 years ago

These logs come from QtNetwork module and cannot be disabled. Overall this error means that 303/304 code is received from the server side together with the data. So caching enabling cannot be applied. Not sure how to fix it, the only suggestion is to filter logs to exclude this message.