Added logging facility to node