Perhaps it should be documented which logger-class has to be used.
http://felix.apache.org/site/apache-felix-framework-configuration-properties.html
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/How-to-set-default-logger-tp5004867p5004881.html
Sent from the Apache Fel
Thank you so much!
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/How-to-set-default-logger-tp5004867p5004886.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
-
To unsubscri
On 9/6/13 11:03 , Roland wrote:
Perhaps it should be documented which logger-class has to be used.
http://felix.apache.org/site/apache-felix-framework-configuration-properties.html
I modified that page to refer to the fully qualified class name.
-> richard
--
View this message in context:
On 9/6/13 10:07 , Roland wrote:
I'm wondering because the framework always writes to sdtout, instead of using
the LogService.
I already explained that the framework doesn't use a LogService. It
never does. We tried to do so many, many years ago and it was too
problematic. The Felix framework
I'm wondering because the framework always writes to sdtout, instead of using
the LogService.
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/How-to-set-default-logger-tp5004867p5004877.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---
On 9/6/13 09:53 , Roland wrote:
The Logger tries to load the LogService interface. Once the logger is
initialized it will never check this a second time.
public Logger(BundleContext context)
{
m_context = context;
try
{
org.osgi.service.log.LogSe
Thank you for the well explained answer.
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/How-to-set-default-logger-tp5004867p5004879.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
What are you actually trying to do?
If you just want to write log messages from your bundle, you should
use the LogService and not worry about Felix internals.
Neil
On Fri, Sep 6, 2013 at 2:53 PM, Roland wrote:
> The Logger tries to load the LogService interface. Once the logger is
> initialize
The Logger tries to load the LogService interface. Once the logger is
initialized it will never check this a second time.
public Logger(BundleContext context)
{
m_context = context;
try
{
org.osgi.service.log.LogService.class.getName();
m_isL
On 9/6/13 08:59 , Roland wrote:
Does it mean that I should export the LogService-interface with
FRAMEWORK_SYSTEMPACKAGES_EXTRA? Otherwise it makes no sense to me.
Not sure what you mean, the framework doesn't use a logging service, it
uses an instance of org.apache.felix.framework.Logger.
->
Does it mean that I should export the LogService-interface with
FRAMEWORK_SYSTEMPACKAGES_EXTRA? Otherwise it makes no sense to me.
Thanks!!
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/How-to-set-default-logger-tp5004867p5004873.html
Sent from the Apache Felix - Use
https://issues.apache.org/jira/browse/FELIX-4220
Richard S. Hall wrote
> On 9/6/13 04:45 , Roland wrote:
>> Hello Felix-experts,
>>
>> I got a BundleException "Cannot start bundle xyz because its start level
>> is
>> 3, which is greater than the framework's start level of 1." After the
>> excep
On 9/6/13 08:42 , Roland wrote:
Hello Felix-experts!
The org.apache.felix.utils.log.Logger can only be instanciated without using
the fallbacklogger (stdout,stderr) if a bundle exports the LogService
interface, isn't it? How can I set felix.log.logger at runtime after calling
the felix-constructo
Hello Felix-experts!
The org.apache.felix.utils.log.Logger can only be instanciated without using
the fallbacklogger (stdout,stderr) if a bundle exports the LogService
interface, isn't it? How can I set felix.log.logger at runtime after calling
the felix-constructor?
http://felix.apache.org/site/a
On 9/6/13 05:27 , Roland wrote:
Is it possible to start the framework and the cached bundles concurrently?
I'm not optimistic:
https://issues.apache.org/jira/browse/FELIX-3034
-> richard
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/How-to-improve-the-star
On 9/6/13 04:45 , Roland wrote:
Hello Felix-experts,
I got a BundleException "Cannot start bundle xyz because its start level is
3, which is greater than the framework's start level of 1." After the
exception was thrown I checked the Exception-type and I got 0 but I expected
START_TRANSIENT_ERRO
Neither JVM-option -client, nor the Bundle-ActivationPolicy lazy has
significant speed advantages. I stopping here and I focus my activity on
reducing dependencies.
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/How-to-improve-the-start-time-of-Apache-Felix-tp5004833p5
I am currently in contact with the developers of log4j2. I'll create a patch
over the weekend, which slims log4j2 to a lightweight bundle with as few
dependencies.
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/How-to-improve-the-start-time-of-Apache-Felix-tp5004833p50
On Sep 6, 2013, at 11:27 AM, Roland wrote:
> Is it possible to start the framework and the cached bundles concurrently?
No, and yes. If you want to do things concurrently, move any work you're doing
in the start() method of the bundle activator to a new thread (or some executor
service that ma
On Sep 6, 2013, at 9:05 AM, Roland wrote:
> The biggest problem is loading of third-party-bundles. Foremost, the loading
> of log4j2 is slow because this bundle has many dependencies. Although most
> dependencies are declared as optional, I need them to resolve dependencies.
Ditch log4j2 for a s
Is it possible to start the framework and the cached bundles concurrently?
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/How-to-improve-the-start-time-of-Apache-Felix-tp5004833p5004859.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
--
Hello Felix-experts,
I got a BundleException "Cannot start bundle xyz because its start level is
3, which is greater than the framework's start level of 1." After the
exception was thrown I checked the Exception-type and I got 0 but I expected
START_TRANSIENT_ERROR (10). Am I wrong?
Thanks & Rega
The biggest problem is loading of third-party-bundles. Foremost, the loading
of log4j2 is slow because this bundle has many dependencies. Although most
dependencies are declared as optional, I need them to resolve dependencies.
--
View this message in context:
http://apache-felix.18485.x6.nabbl
23 matches
Mail list logo