Switching logging to console temporairilly