Movable Python & Logging
Logging the Output of Python Scripts
Movable Python can log the output of all Python programs it runs. Any output on standard output and standard error can be logged, so long as they use the normal Python streams.
Movable Python has three logging modes, chosen from the Log Mode menu option.
You set the log file location (and can also change the log mode) from dialog launched by the Configure -> Logging menu option.
You can choose an individual file or use special values in the path to indicate the file to be used for logging. You can use this to create a new logfile (or directory) per file that you run or have files created by time or date (this means that you can create a new log file per file run, or a log directory per day).
If the directory specified does not exist, Movable Python will attempt to create it.
The following values will automatically be replaced in the path :
The default log directory is lib/config/logs/. The default log file path is :
This creates log files with filenames that look like :