Hi Jakob,
Flushing the general log file will cause stutters; we tend to avoid that here and write the log in a separate thread actually to keep things running in realtime. We do have a LogSynchronous() call which we can use in case severe crashes cause the log thread to miss that latest log message you are probably most interested in. For the error-log default explicit flushes may make more sense since you shouldn't normally get errors when things are ready for production.
Thanks for the tip on running SUMO instead of the GUI, hadn't thought of that.
There was no content in the log file (it was created but stayed at 0 bytes) although the simulation did start and ran for a little while. Later on, I saw an exception about a setRouteID() that failed, probably due to a funny location (I'm steering the human-controlled vehicle off the road sometimes with MoveToXy() and SetSpeed()). That might be a thing for later; any Vehicle::MoveToXy() call with KeepRoute other than 0 (so 2, 4, 6) will crash SUMO here quite quickly even when hitting the sidewalk (so close to the route's edge). Unfortunately a simple reproduction case is difficult since I have multiple applications that work in concert in our simulation.
Thanks!
Ruud