adding log