Monitor stdout when cleaning logs. Closes #179.
Merge pull request #180 from jorgeortiz85/issue-179

Monitor stdout when cleaning logs