Added logging of archive file size
This commit is contained in:
parent
58a2245840
commit
677994bb67
3 changed files with 35 additions and 14 deletions
|
@ -57,7 +57,8 @@ public class BootWarOperation extends AbstractBootOperation<BootWarOperation> {
|
|||
var archive = executeCreateArchive(staging_dir);
|
||||
|
||||
if (!silent() && LOGGER.isLoggable(Level.INFO)) {
|
||||
LOGGER.info("The executable WAR was created: " + archive.getAbsolutePath());
|
||||
LOGGER.info(String.format("The executable WAR was created: %s (%s)", archive.getAbsolutePath(),
|
||||
fileSize(archive)));
|
||||
}
|
||||
} finally {
|
||||
FileUtils.deleteDirectory(staging_dir);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue