Using Maven 2.0.8.
The following Mojo's execute() method results in two lines of output in my
Windows cmd prompt:
The System out and the INFO level logging. Even if I run 'mvn
com.foo.bar:maven-output-plugin:1.0-SNAPSHOT:foo -X' I still only see those
two lines.
Why and how to see all the others (e.g. debug level)?
public class MyMojo extends AbstractMojo
{
public void execute()
throws MojoExecutionException
{
System.out.println("in execute() of MyMojo");
getLog().trace("Hello, world trace.");
getLog().debug("Hello, world debug.");
getLog().info("Hello, world info.");
getLog().warn("Hello, world warn.");
getLog().error("Hello, world error.");
getLog().fatal("Hello, world fatal.");
}
}
--
View this message in context:
http://maven.40175.n5.nabble.com/logging-level-in-Mojo-only-INFO-tp510999p510999.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]