balance logging