logging: Call vsprintf from C rather than Python.