Skip to content

Commit 16b60d8

Browse files
committed
Log which report logs to the stdout
1 parent 3c59e97 commit 16b60d8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎utplsql-maven-plugin/src/main/java/org/utplsql/UtPLSQLMojo.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,12 @@ private void writeReporter(Connection connection, Reporter reporter) throws SQLE
155155
file.getParentFile().mkdirs();
156156
}
157157
try (FileOutputStream fout = new FileOutputStream(file)) {
158+
158159
getLog().info(format("Writing report %s to %s", reporter.getSelfType(), file.getAbsolutePath()));
159160
new OutputBuffer(reporter).printAvailable(connection, new PrintStream(fout));
160161
}
161162
} else {
163+
getLog().info(format("Reporter %s:", reporter.getSelfType()));
162164
new OutputBuffer(reporter).printAvailable(connection, System.out);
163165
}
164166
}

0 commit comments

Comments
 (0)