logging changes
BUG 906349 Fixed an off-by-one error