As pointed out by @CCulianu , using %u for bools is not good style and may even cause some compilers to issue warnings.
Technically a bool is promoted to an int, not an unsigned int.
There is much of this %u usage going on in existing log trace printing of bools.
A general careful replacement should be done across the codebase.