Add log_id to database
Fix empty logDateList bug