Updated logger 2