Changed logging handler