added index to Logs