Refactored metis' log system