Modifies logging a little, adds more messages