errors are logged in a file with node's root filename