Added support to get log