Chiral gravity, log gravity, and extremal CFT