move debug logging to corp history import