log stack line by line