|
Re: Does the efxclipse logger faade honour configuration files... ? [message #1678857 is a reply to message #1678829] |
Mon, 16 March 2015 11:15 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
Hi,
No we are NOT defining in any default configuration! Where did you put
your log4j-File?
To make log4j to pick it up you need to put it into a fragment who has
org.apache.log4jn as its host. I always planned to provide a way to
configuring log4j through an OSGi-Service but I've not yet had time to
work on this.
Tom
On 16.03.15 11:57, Thomas Elskens wrote:
> Hello,
>
> I'm using the logger façade provided by efxclipse with log4j and I was
> trying to set the standard message level to trace. This, however, does
> not work, only messages having level info or above are printed.
> The simplified configuration (hosted by a plugin fragment appended to
> org.apache.log4j) looks like this :
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Configuration status="ALL">
> <Appenders>
> <Console name="Console" target="SYSTEM_OUT">
> <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36}
> - %msg%n"/>
> </Console>
> </Appenders>
> <Loggers>
> <Root level="trace">
> <AppenderRef ref="Console"/>
> </Root>
> </Loggers>
> </Configuration>
>
>
> This is all standard, except for the status="ALL" and the Root
> level="trace".
> So before I start looking for (more or less) subtle problems, I just
> wanted to make sure the efxclipse façade doesn't put any particular
> constraints on the use of log4j configuration files?
> Thanks in advance for the clarification,
>
> Thomas Elskens
|
|
|
|
Powered by
FUDForum. Page generated in 0.06469 seconds