loggin error of session variables