Improved log system to output more detailed data