Redo spy on console log and warn