how to get log information