logging content negotiation

#1564
Sort, and also this is invalid JSON, no? (Trailing comma is not allowed.)