Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335872

Summary: The m2e logging does not work
Product: z_Archived Reporter: Paul Tatavu <vladt>
Component: m2eAssignee: Paul Tatavu <vladt>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: pascal, vladt
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Paul Tatavu CLA 2011-01-31 11:54:56 EST
There are two logging plugins in m2e:
- org.eclipse.m2e.logging - activates the logback configuration for slf4j
- org.eclipse.m2e.slf4j.bridge - pipes the eclipse logging into slf4j

Problems:
- no way to activate these plugins (except manual activation from osgi console)
- even if the plugins are activated from the osgi console, nothing gets logged in any log file
Comment 1 Paul Tatavu CLA 2011-02-08 14:11:20 EST
Fixed the loading of logback configuration
Comment 2 Paul Tatavu CLA 2011-02-11 11:40:00 EST
Added optional feature for m2e slf4j over logback configuration.
Added logback appenders for eclipse log and maven console.
Replaced MavenLogger with slf4j loggers.
Replaced direct calls to maven console logMessage/logError with slf4j log calls.
Removed the now obsolete MavenConsoleService.
Comment 3 Paul Tatavu CLA 2011-02-11 14:13:37 EST
Fixed log levels in EclipseLogger.
Configured EclipseLogAppender to log only warnings and errors.
Added debug level to the MavenConsole.
Comment 4 Paul Tatavu CLA 2011-02-14 11:55:34 EST
Renamed org.eclipse.m2e.logging->org.eclipse.m2e.logback.configuration and org.eclipse.m2e.logging.feature->org.eclipse.m2e.logback.feature.
Comment 5 Paul Tatavu CLA 2011-02-14 11:55:51 EST
Done
Comment 6 Pascal Rapicault CLA 2011-02-28 14:58:14 EST
.
Comment 7 Denis Roy CLA 2021-04-19 13:23:26 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/