Hi, with the latest update of the Felix SCR, I am able to get an instance of the LogService by referencing the LoggerFactory using this line of code: @Reference(service = LoggerFactory.class) private Logger _logger;
Now, I would have expected, that I can configure the LogService through the Web Console (Configuration Admin). There is a menu LogService in the WebConsole and it says “Log Service is running”, but there is not one single log entry available nor can I change the log level of classes (or bundles). I found the documentation (http://felix.apache.org/documentation/subprojects/apache-felix-log.html) and it says that it is possible to configure the logging through the Configuration Admin. But it’s not clear to me, what exactly I have to do. Is it necessary to use LogBack (or any other logging framework)? According to my current understanding, I do not have to use an additional logging framework. Anyhow, do you recommend utilizing one? Obviously, I am missing something important. Could somebody please give me an introduction on how to properly use the LogService. I think I make correctly use of it in the code, but I do not understand how to use/configure it after compilation. Thanks, Philipp