Move node logging to separate file