logging costs