On Wed, Jul 11, 2018 at 12:53 PM, Cristiano <cvgav...@gmail.com> wrote:

> Wow, that is really cool !!
>
> great work, Raymond !
>
> I'm wondering... would be possible to setup logging (appenders or log
> level) using configuration admin service ?
>

Your wish is my command...  to link you to the latest Log Service 1.4
specification which adds configuration of log levels via configuration
admin [1] 😀👍.

However "appenders" in terms of the Log Service specification are still
handled through LogListener services. This has not changed. So no, the
logback appenders are not integrated with configuration admin.

The Felix Logback integration simply manages the root logger context [2]
through it's configuration file. It also creates a bridge via a LogListener
to pipe records to logback's appenders, whatever is configured in logback.

[1] https://osgi.org/specification/osgi.cmpn/7.0.0/service.log.html#d0e2548
[2] https://osgi.org/specification/osgi.cmpn/7.0.0/service.log.html#d0e2447

Sincerely,
- Ray


>
> regards,
>
> Cristiano
>
>
> On 06/07/2018 15:31, Raymond Auge wrote:
>
>>    <dependency>
>>      <groupId>org.apache.felix</groupId>
>>      <artifactId>org.apache.felix.logback</artifactId>
>>      <version>1.0.0</version>
>>    </dependency>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>
>


-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)

Reply via email to