#1224 GuardDebugLogging broken in 5.1.1 - missing additive statement check in log statement