Fix a typo in log.c preventing args from being logged properly.

A typo used fprintf() instead of vfprintf() causing arguments to not
be properly output to the log.