updated logging
updated logger.