I am pretty sure I answered this question before but I somehow can't find the original thread. Odd.
m2e uses slf4j and logback and logging configuration is done as part of org.eclipse.m2e.logback.configuration bundle activation. This bundle is marked for eager activation when m2e is installed, but PDE does not honour that. As a result, logback uses default DEBUG+ logging configuration when Eclipse is launched from PDE. Few ways to change this * Petition Eclipse Platform developers to provide SLF4J support at platform level. Logging configuration belongs to overall Eclipse instance and is not something m2e should need to manage. This, of course, will take time even if you manage to convince Platform devs (which we couldn't in the past). * Manually start org.eclipse.m2e.logback.configuration bundle from Equinox console. Once the bundle is activated, it will apply m2e logback configuration, which logs INFO+ messages, but can be configured further if necessary * Of course, you can just ignore the noise in the console, but I guess you've already considered this option ;-) -- Regards, Igor On Sun, Jun 14, 2015, at 03:25 PM, Philippe Riand wrote: > I'm actually trying to debug some eclipse plug-ins but my own console log > text is diluted into a whole bunch of maven output, like shown bellow. (this > is just an except. the console window is just full of similar messages) > Is there a way to disable these logs? 'Debug Output' in not selected in the > maven preferences. Is there something else I should check/uncheck? > > FYI, I'm testing my plug-ins from eclipse, which means that I'm launching > eclipse from eclipse. And the log bellow is what I'm getting in the eclipse > console, from the launcher. > > > 15:15:22.295 [Worker-65] DEBUG > o.e.m.c.p.c.AbstractCustomizableLifecycleMapping - Mojo execution key: > org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (execution: > default-deploy, phase: deploy) > 15:15:22.295 [Worker-65] DEBUG o.e.m.c.i.builder.MavenBuilder - Cleaned > project demo-app-webui in 63 ms > 15:15:22.311 [Worker-65] INFO o.e.m.c.i.p.ProjectConfigurationManager - > Update completed: 0 sec > 15:15:22.311 [Worker-65] INFO o.e.m.c.i.p.ProjectConfigurationManager - > Update started > 15:15:22.311 [Worker-65] DEBUG o.e.m.c.i.p.r.ProjectRegistryManager - > Refreshing: [L/demo-app-j2ee/pom.xml] > 15:15:22.311 [Worker-65] DEBUG o.e.m.c.internal.embedder.MavenImpl - Reading > Maven project: > C:\phildev\runtime-DarwinoStudio-Template\demo-app\demo-app-j2ee\pom.xml > 15:15:22.311 [Worker-65] DEBUG o.e.m.c.internal.embedder.MavenImpl - Read > Maven project: > C:\phildev\runtime-DarwinoStudio-Template\demo-app\demo-app-j2ee\pom.xml in 0 > ms > 15:15:22.327 [Worker-65] DEBUG o.e.m.c.i.l.LifecycleMappingFactory - Loading > lifecycle mapping for MavenProject: com.demo:demo-app-j2ee:0.0.1-SNAPSHOT @ > C:\phildev\runtime-DarwinoStudio-Template\demo-app\demo-app-j2ee\pom.xml. > 15:15:22.342 [Worker-65] INFO o.e.m.c.i.l.LifecycleMappingFactory - Using > org.maven.ide.eclipse.wtp.WarLifecycleMapping lifecycle mapping for > MavenProject: com.demo:demo-app-j2ee:0.0.1-SNAPSHOT @ > C:\phildev\runtime-DarwinoStudio-Template\demo-app\demo-app-j2ee\pom.xml. > 15:15:22.342 [Worker-65] DEBUG o.e.m.c.i.l.LifecycleMappingFactory - Loaded > lifecycle mapping in 15 ms for MavenProject: > com.demo:demo-app-j2ee:0.0.1-SNAPSHOT @ > C:\phildev\runtime-DarwinoStudio-Template\demo-app\demo-app-j2ee\pom.xml. > 15:15:22.342 [Worker-65] DEBUG o.e.m.c.i.p.r.DefaultMavenDependencyResolver - > Resolving dependencies for P/demo-app-j2ee: > com.demo:demo-app-j2ee:0.0.1-SNAPSHOT > 15:15:22.342 [Worker-65] DEBUG o.e.m.c.internal.embedder.MavenImpl - Reading > Maven project: > C:\phildev\runtime-DarwinoStudio-Template\demo-app\demo-app-j2ee\pom.xml > 15:15:22.654 [Worker-65] DEBUG o.e.m.c.internal.embedder.MavenImpl - Read > Maven project: > C:\phildev\runtime-DarwinoStudio-Template\demo-app\demo-app-j2ee\pom.xml in > 312 ms > 15:15:22.654 [Worker-65] DEBUG o.e.m.c.i.p.r.DefaultMavenDependencyResolver - > Resolved dependencies for P/demo-app-j2ee: > com.demo:demo-app-j2ee:0.0.1-SNAPSHOT in 312 ms > 15:15:22.654 [Worker-65] DEBUG o.e.m.c.i.p.r.ProjectRegistryManager - > Refreshed: [L/demo-app-j2ee/pom.xml] > 15:15:22.654 [Worker-65] DEBUG o.e.m.c.internal.embedder.MavenImpl - Reading > Maven project: > C:\phildev\runtime-DarwinoStudio-Template\demo-app\demo-app-shared\pom.xml > 15:15:22.670 [Worker-65] DEBUG o.e.m.c.internal.embedder.MavenImpl - Read > Maven project: > C:\phildev\runtime-DarwinoStudio-Template\demo-app\demo-app-shared\pom.xml in > 16 ms > 15:15:22.670 [Worker-65] DEBUG o.e.m.c.internal.embedder.MavenImpl - Reading > Maven project: > C:\phildev\runtime-DarwinoStudio-Template\demo-app\demo-app-webui\pom.xml > 15:15:22.685 [Worker-65] DEBUG o.e.m.c.internal.embedder.MavenImpl - Read > Maven project: > C:\phildev\runtime-DarwinoStudio-Template\demo-app\demo-app-webui\pom.xml in > 15 ms > 15:15:23.044 [Worker-65] DEBUG o.e.m.c.internal.embedder.MavenImpl - Reading > Maven project: > C:\phildev\runtime-DarwinoStudio-Template\demo-app\demo-app-j2ee\pom.xml > 15:15:23.122 [Worker-65] DEBUG o.e.m.c.internal.embedder.MavenImpl - Read > Maven project: > C:\phildev\runtime-DarwinoStudio-Template\demo-app\demo-app-j2ee\pom.xml in > 78 ms > 15:15:23.216 [Worker-65] DEBUG o.e.m.c.i.p.ProjectConfigurationManager - > Updating project configuration for P/demo-app-j2ee: > com.demo:demo-app-j2ee:0.0.1-SNAPSHOT. > 15:15:23.216 [Worker-65] DEBUG o.e.m.c.i.p.ProjectConfigurationManager - > Setting encoding for project demo-app-j2ee: null > 15:15:23.263 [Worker-65] DEBUG > o.e.m.c.p.c.AbstractCustomizableLifecycleMapping - Build participants for > MavenProject: com.demo:demo-app-j2ee:0.0.1-SNAPSHOT @ > C:\phildev\runtime-DarwinoStudio-Template\demo-app\demo-app-j2ee\pom.xml > 15:15:23.263 [Worker-65] DEBUG > o.e.m.c.p.c.AbstractCustomizableLifecycleMapping - Mojo execution key: > org.apache.maven.plugins:maven-resources-plugin:2.6:resources (execution: > default-resources, phase: process-resources) > 15:15:23.263 [Worker-65] DEBUG > o.e.m.c.p.c.AbstractCustomizableLifecycleMapping - > _________________________________________________ > m2e-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________ m2e-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/m2e-users
