Test log mode is working.