Adds debugging logs