Added logging to customertable refresh function