Fixing bugs for logging nodes.