identus-cloud-agent icon indicating copy to clipboard operation
identus-cloud-agent copied to clipboard

Quill library produces a lot of noisy logs in compile and runtime

Open yshyn-iohk opened this issue 1 year ago • 5 comments

Is this a regression?

No

Description

Quill library produces a lot of noisy logs in compile and runtime This should be fixed by:

  • patch the quill library
  • configure sbt to reduce the noise during the compilation time

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in

No response

Anything else?

No response

yshyn-iohk avatar Jul 03 '24 15:07 yshyn-iohk

https://github.com/hyperledger/identus-cloud-agent/pull/1264 partially solves the issue. This remove all static query log. For Dynamic Query Detected ..., we need update this in the library. This also implies that our agent must use ZIO >= 2.1.x so it is partially blocked by this issue

patlo-iog avatar Jul 12 '24 09:07 patlo-iog

@patlo-iog can you link your other PR that you did to the library itself?

What is the status of that one?

FabioPinheiro avatar Aug 28 '24 16:08 FabioPinheiro

https://github.com/zio/zio-protoquill/pull/473

patlo-iog avatar Aug 28 '24 16:08 patlo-iog

The fix is merged

patextreme avatar Dec 04 '24 19:12 patextreme

@patextreme, @FabioPinheiro, it appears that Pat has resolved the issue in another library that focuses on Scala 3 only. The original issue is still present. There are two streams of the Quill Library:

  1. The one used for Scala 2 and Scala 3 (https://github.com/zio/zio-quill). We use it.
  2. The one that is targeted to Scala 3 only (uses Scala 3 macro feature)

I will keep the ticket open and move it back to the repository. Let's discuss what we are going to do with it at the architecture meeting.

yshyn-iohk avatar Jun 04 '25 06:06 yshyn-iohk