attach log to a spec node directly
(cherry picked from commit 353aa95)