Log Message: short gets promoted to int according to ISO C rules, so use int for va_arg instead of short.