logging all output messages
remove all temporaly files