|Re: configuring log4j [message #897562 is a reply to message #897555]
||Tue, 24 July 2012 13:57
| Sebastian Zarnekow
Registered: July 2009
The only chance is to make sure that xtext.logging is not on the |
classpath or that your fragment has a higher precedence. I'm not sure
about the latter ...
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Am 24.07.12 15:31, schrieb Vlad Dumitrescu:
> I'm taking the risk of asking a stupid question, but I just can't get it...
> I have written a log4j fragment with a log4j.properties and it works
> fine with a launch configuration where org.eclipse.xtext.logging is not
> present. But when I install my plugin as an user, how do I make sure my
> configuration is the one that gets used? The xtext.logging fragment is
> already installed with the SDK.
> Should I load the properties file and use it to configure log4j myself,
> instead of relying on it finding the right config file?
> In a related topic, if I want to use an EclipseLogAppender like
> xtext.logging does, I have to implement another one in my code, right?
> best regards,
Powered by FUDForum
. Page generated in 0.01425 seconds