debugging logging into table