Added feature to get log details.
Enhance get log feature.