confd: strip newlines before logging the request