Implemented logging task