change in XPCC_LOG__XX to avoid the dangling else problem.