Added functionality to get log by log id