Adding the log system in bwa tests