optimize call logging