sample usage logging