Sony Xperia Ray contacts lost after deleting the contents of /data/log
If you syncronised yor contacts with google then turn sychro on in settings you will get back all your contacts 

 or


Just log in to your gmail adress and press contacts on the left side pane then show all contacts.