diff --git a/examples/pduLog/Readme.md b/examples/pduLog/Readme.md index 2f5048e5b4db28260428bb4992ace9647f8dc125..dbac0a5259155bb1eed2c9b0a47a7e74f1453856 100644 --- a/examples/pduLog/Readme.md +++ b/examples/pduLog/Readme.md @@ -1 +1,12 @@ +# PDU Log Files + This directory holds temporary files and may be overwritten at any time! + +Each time you run a DIS simulation and a PduRecorder is listening, another +log file is created. + +Be sure to save your work, when appropriate, by copying your log file to +the corresponding homework or project directory (and likely renaming as well). + +Note that the PDU log files are very tolerant of inline comments starting with +a # character, so you can list success/failure/TODO issues there as well. diff --git a/examples/src/OpenDis7Examples/ExampleSimulationProgram.java b/examples/src/OpenDis7Examples/ExampleSimulationProgram.java index 2bd6d9599cb0870007d3b0625bc01c772562045b..c96bbe1852b3789d374d84785ed506d279ea3f83 100644 --- a/examples/src/OpenDis7Examples/ExampleSimulationProgram.java +++ b/examples/src/OpenDis7Examples/ExampleSimulationProgram.java @@ -250,6 +250,7 @@ public class ExampleSimulationProgram System.out.println("Beginning pdu save to directory " + outputDirectory); pduRecorder = new PduRecorder(outputDirectory, getNetworkAddress(), getNetworkPort()); // assumes save pduRecorder.setDescriptor ("ExampleSimulationProgram pduRecorder"); +// pduRecorder.setVerbose(true); // TODO pduRecorder.start(); // begin running }