adds log system, integrate it into raid management