Re: [PAX-LOGGING] - Create and register an appender in runtime

2018-12-18 Thread Ygor Castor
from > last year: > https://groups.google.com/forum/#!msg/ops4j/yjqOzvrKRkc/t5BXmfyoBgAJ > > regards > Grzegorz Grzybek > > pon., 17 gru 2018 o 13:23 Ygor Castor > > napisaƂ(a): > >> Hello! I have an use case that i need to register an appender to the &g

[PAX-LOGGING] - Create and register an appender in runtime

2018-12-17 Thread Ygor Castor
Hello! I have an use case that i need to register an appender to the RootLogger in runtime, but i'm having tons of trouble with that, i've done it before in a Non-OSGi application by simply getting the Log4j2 context and adding a appender to the configuration: 1. final LoggerContext

Shared Filter with a Wab

2018-10-17 Thread Ygor Castor
Hello! I'm having trouble to use a SharedContext filter within some WAB resources. I've created a filter using blueprint and exposed it as a shared Context like this: And i need all my wab bundles, which contains mostly static resources to pass through this