Change dev/null to logger.txt