It seems the class checks if there is a log service installed and prints out directly if not.
I wonder if we could change this code to simply log via the slf4j API. This way the logging could be configured using the usual logging configs. In my case I use logback and no logservice. So I could try to install a logservice of course. Christian 2018-04-23 11:45 GMT+02:00 Bertrand Delacretaz <[email protected]>: > Hi Christian,On Mon, Apr 23, 2018 at 9:36 AM, Christian Schneider > <[email protected]> wrote: > > I am writing a sling pax exam test and get a lot of lines like > > registerMimeType: Add mapping ez=application/andrew-inset ... > > It looks like this comes from MimeTypeServiceImpl.java#L155 [1], as a > DEBUG log message. > > -Bertrand > > [1] https://github.com/apache/sling-org-apache-sling- > commons-mime/blob/master/src/main/java/org/apache/sling/ > commons/mime/internal/MimeTypeServiceImpl.java#L155 > -- -- Christian Schneider http://www.liquid-reality.de Computer Scientist http://www.adobe.com
