There are two possible types of log files: a message log file and a data log file. A message log would include any printfs or warning messages from the simulation or your models. The data log includes any model variables that you have chosen to log for your objects. Logging is configured in the setup file.
A log file has one header line with the names of the variables and then one line per timestep with the variables printed in sequence. Values are enclosed in quotes to allow for handling of matrices, which are printed using square brackets, commas and semicolons.
Time,"Object:position" "0","[1;0;0]" "1","[0.5416666667;0;0]" "2","[-0.4010416667;0;0]" "3","[-0.9695457176;0;0]" "4","[-0.6541732976;0;0]" "5","[0.2490753048;0;0]" "6","[0.9160548552;0;0]" "7","[0.7463444118;0;0]" "8","[-0.09638246466;0;0]" "9","[-0.8416885907;0;0]" "10","[-0.8166181566;0;0]"
The log file can be easily parsed by any text editor. A parser for MATLAB is available in our Spacecraft Control Toolbox.