Logging for trajectory computations