change to log level LOG_ANY to silence compiler warnings

with help from Gary Buhrmaster
add a VB_FLUSH while here