automatically transfer logs to controller