Release 1.2.1 - fixed the logging handler

Fixed the logging handler