modified log to use util inspect instead of JSON.stringify