Skip to content

Commit

Permalink
#39 show logs
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 11, 2024
1 parent 62f9cb2 commit c6876de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/main/java/org/eolang/hone/AbstractMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ public final void execute() throws MojoExecutionException {
} catch (final IOException ex) {
throw new MojoExecutionException(ex);
}
Logger.info(this, "Done!");
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/eolang/hone/Docker.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ public void exec(final Collection<String> args) throws IOException {
command.addAll(args);
final long start = System.currentTimeMillis();
final ProcessBuilder bldr = new ProcessBuilder(command);
try (VerboseProcess proc = new VerboseProcess(bldr, Level.FINE, Level.FINE)) {
try (VerboseProcess proc = new VerboseProcess(bldr, Level.INFO, Level.INFO)) {
final VerboseProcess.Result ret = proc.waitFor();
Logger.info(
this, "+ %s -> %d in %[msec]s",
this, "+ %s -> %d in %[ms]s",
String.join(" ", command), ret.code(),
System.currentTimeMillis() - start
);
Expand Down

0 comments on commit c6876de

Please sign in to comment.