Update to submit logging

This commit is contained in:
2024-04-23 13:15:15 -04:00
parent 9102fe1f6c
commit 8d7d3227cb
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -162,6 +162,7 @@ public enum ForgeManager implements Runnable {
} finally { } finally {
city.transactionLock.writeLock().unlock(); city.transactionLock.writeLock().unlock();
} }
Logger.info(workOrder.toString());
return validation_result; return validation_result;
} }
+3 -1
View File
@@ -158,7 +158,9 @@ public class WorkOrder implements Delayed {
"rollingDuration: " + duration + "\r\n" + "rollingDuration: " + duration + "\r\n" +
"completionTime: " + localDateTime + "\r\n" + "completionTime: " + localDateTime + "\r\n" +
"runCompleted: " + this.runCompleted + "\r\n" + "runCompleted: " + this.runCompleted + "\r\n" +
"runCanceled: " + this.runCanceled + "\r\n"; "runCanceled: " + this.runCanceled + "\r\n" +
"productionCost: " + this.production_cost.toString() + "\r\n" +
"totalProductionCost:: " + this.production_cost_total.toString();
return outSTring; return outSTring;
} }