implemented logging service