Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344973 - [Logging] log4j not initialized
Summary: [Logging] log4j not initialized
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 10:25 EDT by Robert von Massow CLA
Modified: 2017-10-31 11:18 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert von Massow CLA 2011-05-06 10:25:21 EDT
Build Identifier: M7

Using indigo M7 and Xtext M7 I get the following error:

log4j:WARN No appenders could be found for logger (org.eclipse.xtext.ui.internal.Activator).
log4j:WARN Please initialize the log4j system properly.


Reproducible: Always
Comment 1 irfan CLA 2011-07-26 05:47:19 EDT
Hi,
i am getting the same error....
Comment 2 Karsten Thoms CLA 2011-07-26 09:12:32 EDT
I saw that one also for Xtext 2.0.0 final.
Comment 3 Aaron Digulla CLA 2011-11-22 10:43:06 EST
I tried to fix this my adding -Dlog4j.configuration to eclipse.ini but that doesn't help.

How do I supply a log4j config to the Eclipse IDE?
Comment 4 Aaron Digulla CLA 2012-03-30 06:04:27 EDT
(In reply to comment #3)
> How do I supply a log4j config to the Eclipse IDE?

See here for a solution: http://stackoverflow.com/questions/8229613/how-do-i-pass-a-log4j-configuration-to-the-eclipse-ide-itself
Comment 5 Dennis Hendriks CLA 2012-08-01 05:17:05 EDT
(In reply to comment #4)
> (In reply to comment #3)
> > How do I supply a log4j config to the Eclipse IDE?
> 
> See here for a solution:
> http://stackoverflow.com/questions/8229613/how-do-i-pass-a-log4j-
> configuration-to-the-eclipse-ide-itself

So, the solution is to install the Xtext SDK.
Comment 6 Eclipse Webmaster CLA 2017-10-31 11:06:46 EDT
Requested via bug 522520.

-M.
Comment 7 Eclipse Webmaster CLA 2017-10-31 11:18:10 EDT
Requested via bug 522520.

-M.