Fix log for boost 1.54+