clean console.log/dir