Unable to get logs in node.js logs for a proxy created on EDGE

Not applicable

I am trying moniter logs for node.js application, for that i am using console.log() to logs the error messages and customized messages.But I am not getting any logs in node.js logs after running the application. I am getting a message like "There are no node.js logs for this proxy"

I had given the code as below:

app.get('/del', function(req, res) { var j = schedule.scheduleJob('/5 * * * * *', function(){ request('http://venkatesh1109-test.apigee.net/mail12/mail?dbset=3s', function (error, response, body) {

if(response.statusCode!=200)

{

if (error)

{

console.log("error"+error); }

}

else

{ console.log("successfully trigerred");

}

});

});

});

0 1 272
1 REPLY 1

Hi @Bommi venkatesh

Please check if you selected the correct environment in the nodejs logs section