Bug 3548

Summary: eclipse plugin should have a logging feature
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: eclipse-pluginAssignee: Todor Minchev <todor.minchev>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: ioanax.grigoropol, jessica.zhang, yp.ep.watcher, yp.watcher
Version: 1.4   
Target Milestone: 1.8 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Alexandru Georgescu 2012-12-06 16:49:46 UTC
Currently eclipse-plugin does not have a logging functionality which could help debug errors that appear during Eclipse testing and development.

Based on Ioana's suggestion, "log4j" is suited for this functionality.

Ioana, please fell free to add more details regarding this.
Comment 1 Todor Minchev 2015-02-16 14:08:59 UTC
log4j is suitable, but I am not sure how well the Apache and Eclipse licenses play with each other, therefore I've added logger support using the Java Logger. 

set ENABLE_ADT_LOGS=1 environment variable to activate the logger
    
A separate log for each plugin is stored in the Eclipse installation directory:

adt.log
bitbake_commander.log
remote_tools.log
remote_utils.log