Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Log4j Dependency
Log4j Dependency [message #100048] Tue, 23 October 2007 11:36 Go to next message
Shane Coughlan is currently offline Shane CoughlanFriend
Messages: 16
Registered: July 2009
Junior Member
Hi,

Using Teneo 0.8 we set up Log4j logging in our application.

After the teneo plugin org.eclipse.emf.teneo.eclipse
is started our log4j configuration is ignored.
From the source we can see that Teneo loads
its own log4j configuration in the start method of
org.eclipse.emf.teneo.eclipse.StorePlugin

I removed the log4j configuration in teneo's source and recompiled
and setting the log4j.configuration variable to point to our own
log4j.properties file solves the problem. Both our own logs and teneos
are written to the same file.

In future releases can Teneo's dependency on Log4j and how its congifured
be removed??

Thanks,
Shane
Re: Log4j Dependency [message #100063 is a reply to message #100048] Tue, 23 October 2007 12:34 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Shane,
Can you enter a call for this in bugzilla? Then I will solve this in the next build.

gr. Martin

Shane Coughlan wrote:
> Hi,
>
> Using Teneo 0.8 we set up Log4j logging in our application.
>
> After the teneo plugin org.eclipse.emf.teneo.eclipse
> is started our log4j configuration is ignored.
> From the source we can see that Teneo loads its own log4j configuration
> in the start method of org.eclipse.emf.teneo.eclipse.StorePlugin
>
> I removed the log4j configuration in teneo's source and recompiled
> and setting the log4j.configuration variable to point to our own
> log4j.properties file solves the problem. Both our own logs and teneos
> are written to the same file.
>
> In future releases can Teneo's dependency on Log4j and how its
> congifured be removed??
>
> Thanks,
> Shane
>
>
>
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: Log4j Dependency [message #100100 is a reply to message #100063] Tue, 23 October 2007 14:54 Go to previous message
Shane Coughlan is currently offline Shane CoughlanFriend
Messages: 16
Registered: July 2009
Junior Member
Hi Martin,

I have submitted a request. Bug 207170.

Thanks for the help.

Shane
Re: Log4j Dependency [message #610127 is a reply to message #100048] Tue, 23 October 2007 12:34 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Shane,
Can you enter a call for this in bugzilla? Then I will solve this in the next build.

gr. Martin

Shane Coughlan wrote:
> Hi,
>
> Using Teneo 0.8 we set up Log4j logging in our application.
>
> After the teneo plugin org.eclipse.emf.teneo.eclipse
> is started our log4j configuration is ignored.
> From the source we can see that Teneo loads its own log4j configuration
> in the start method of org.eclipse.emf.teneo.eclipse.StorePlugin
>
> I removed the log4j configuration in teneo's source and recompiled
> and setting the log4j.configuration variable to point to our own
> log4j.properties file solves the problem. Both our own logs and teneos
> are written to the same file.
>
> In future releases can Teneo's dependency on Log4j and how its
> congifured be removed??
>
> Thanks,
> Shane
>
>
>
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: Log4j Dependency [message #610133 is a reply to message #100063] Tue, 23 October 2007 14:54 Go to previous message
Shane Coughlan is currently offline Shane CoughlanFriend
Messages: 16
Registered: July 2009
Junior Member
Hi Martin,

I have submitted a request. Bug 207170.

Thanks for the help.

Shane
Previous Topic:Log4j Dependency
Next Topic:[Compare] Non-eclipse context
Goto Forum:
  


Current Time: Fri Apr 26 01:13:23 GMT 2024

Powered by FUDForum. Page generated in 0.03332 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top