Implement truncateQueueItem in LogQueue

This is impossible to remove a log record so LogQueue keep a separate list of truncated items. This list is persisted when modified. This list is compacted when LogQueue is started.