Interpreter mode log files

Statements acknowledged by the interpreter mode are logged to the file /tmp/log/urcontrol/interpreter.log. The file contains basic information on when the log was started, and for each statement a line:

e: <id_e> c: <id_a> : <statement>

Where <id_e> is the last statement for which execution has started when the statement <statement> with id <id_a> was compiled into the program. To avoid filling the memory of the robot, the logfile is cleaned up according to the following rules:

  1. If the interpreter mode was entered with the parameter clearOnEnd=False, all statements in the interpreter mode are appended to the file /tmp/log/urcontrol/interpreter.saved.log when end_interpreter() is called.
  2. Any other call to end_interpreter() or clear_interpreter() will cause the log to be moved to /tmp/log/urcontrol/interpreter.0.log overwriting any data previously stored there.

All interpreter mode log files are included in failure report files.