updated logging for modules