More DataHandler changes

Updated the getLogs() and addLog methods