Fix fragment logging