added logging to cronsw