Skip to content

Commit

Permalink
Add plugin property logLevel - specify SchemaSpy loglevel command-lin…
Browse files Browse the repository at this point in the history
…e property from plugin configuration
  • Loading branch information
sturton committed May 20, 2012
1 parent a933cb7 commit 047673d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/com/wakaleo/schemaspy/SchemaSpyReport.java
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,13 @@ public class SchemaSpyReport extends AbstractMavenReport {
*/
private Boolean noHtml;

/**
* Detail of execution logging.
*
* @parameter logLevel
*/
private String logLevel;

/**
* Some databases, like Derby, will crash if you use the old driver object
* to establish a connection (eg "connection = driver.connect(...)"). In
Expand Down Expand Up @@ -441,6 +448,7 @@ protected void executeReport(Locale locale) throws MavenReportException {
addFlagToArguments(argList, "-ahic", allowHtmlInComments);
addFlagToArguments(argList, "-noimplied", noImplied);
addFlagToArguments(argList, "-nohtml", noHtml);
addToArguments(argList, "-loglevel", logLevel);
addFlagToArguments(argList, "-norows", noRows);
addFlagToArguments(argList, "-noviews", noViews);
addFlagToArguments(argList, "-noschema", noSchema);
Expand Down

0 comments on commit 047673d

Please sign in to comment.