add auto log table creation