Adding logging

logging being added