create table for logging