Logical correction in logging name

Previously values of child.parent were generated. This since has been
fixed to parent.child