Changed logging technique