Refactored nomos' log system