Log statements

from YmlMark fork