Fixed a buf in str_alloc_vprintf(), added logging_log instead of printf.