updated logging to use single logger for all logging