This is strange. One would expect a custom logging handler and then a call to .addHandler, not passing a callback from the engine-server and duplicating the calls to the log, having a register_progress_handler, etc.IMO the engine should be imported by the engine-server as a library and the progress handler should be initialized there.