added log messages in table.all function