Commits

Michael Heemskerk committed 624867a

CRUC-3703: Fixed logging

Comments (0)

Files changed (1)

processutils/src/main/java/com/atlassian/utils/process/LoggingProcessMonitor.java

             message.append("Finished process: ").append(commandLine);
             Long startTime = process.getStartTime();
             if (startTime != null) {
-            	message.append(" took ").append(startTime.longValue() - System.currentTimeMillis()).append("ms");
+            	message.append(" took ").append(System.currentTimeMillis() - startTime.longValue()).append("ms");
             }
             logger.log(priority, message.toString());