Prevent logging before cron has rerouted logging to file