Added ability to insert and retrieve log entries.