reflections icon indicating copy to clipboard operation
reflections copied to clipboard

[Suggestion] Change log level on reflections scan

Open Gregory-Widmer opened this issue 4 years ago • 2 comments

I'm using this nice library in a project where every line of log is very important.

However, when we call the Reflections.java constructor, we get a info log level line like these one :

23:36:16.430 INFO  - Reflections took 22 ms to scan 1 urls, producing 1 keys and 3 values 
23:36:16.438 INFO  - Reflections took 6 ms to scan 1 urls, producing 1 keys and 3 values 
23:36:33.635 INFO  - Reflections took 3 ms to scan 1 urls, producing 1 keys and 3 values 
23:36:33.638 INFO  - Reflections took 2 ms to scan 1 urls, producing 1 keys and 3 values 

Having these in debug log level would be a good idea, as we don't need to log performance on info level.

Could this please be implemented ?

Thank you for reading

Gregory-Widmer avatar May 27 '21 21:05 Gregory-Widmer

I would love to raise a PR for this.

amit-github-personal avatar Jun 26 '21 17:06 amit-github-personal

https://github.com/ronmamo/reflections/issues/386

Sylordis avatar Feb 08 '23 16:02 Sylordis