logging samples