Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335872 - The m2e logging does not work
Summary: The m2e logging does not work
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Paul Tatavu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-31 11:54 EST by Paul Tatavu CLA
Modified: 2021-04-19 13:23 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/