Redirect output of cron, import logging