Parse Cloud logs not displaying

458 views
Skip to first unread message

sara...@gmail.com

unread,
Jun 1, 2016, 2:00:27 AM6/1/16
to back{4}app
Parse cloud log messages are not displaying in Prase dashboard under Logs menu.
I am using console.error("Got an error " + error.code + " : " + error.message); console.log("Success"); 
App logs which is in App dashboard displays minimal logs. Kindly let me know if this is how it is.
Thank you.

Davi Macêdo

unread,
Jun 6, 2016, 9:05:58 PM6/6/16
to back{4}app
Hi. Completely agree. We need (and will) to improve the logs. console.error is not shown in logs but console.log should be. Is there any console.log that is not logging in your app?

T Toofoo

unread,
Jun 23, 2016, 6:55:34 AM6/23/16
to back{4}app
I'm joinning this issue: in my case the "console.log"  are displayed in "Server System log" but not in  the dashboard browser logs view

Davi Macêdo

unread,
Jun 30, 2016, 4:23:46 AM6/30/16
to back{4}app
Hi.

To see logs in parse.com dashboard browser, use request.log.info() and request.log.error()

Best!

ri...@ntos.me

unread,
Jan 27, 2017, 11:23:43 PM1/27/17
to back{4}app
Hi, I have finished migrating my Parse app from Parse.com to back4app, and have come here also because my logs are not displaying in the Logs section of the app dashboard.

I have replaced console.log() with request.log.info() in my cloud code, but it appears to only print the first log.

eg:

Parse.Cloud.job("test", function(request, status) {
request.log.info("This is another message");
request.log.info("And a second message");
response.success("Yay");
});

Will print to the Logs:
  1. 2017-01-28T04:20:36.384Z - This is another message
  2. 2017-01-28T04:20:26.226Z - Parse LiveQuery Server starts running
  3. Any suggestions? 

casag...@back4app.com

unread,
Jan 28, 2017, 12:23:41 PM1/28/17
to back{4}app
Can you make this change,

Instead of:

response.success("Yay");

Try:

status.success("Yay");

Best!

ri...@ntos.me

unread,
Jan 30, 2017, 5:15:12 AM1/30/17
to back{4}app
Doh! Thanks for the quick response, sorry for the noob mistake.

Cláudio Castro

unread,
Oct 22, 2018, 2:23:06 PM10/22/18
to Back4App
Hello everyone, after several attempts and read in different places how to receive a message from the job, 
I tried the following:

Parse.Cloud.job("test", function(request, status) {
    request.log.info("mensagem 1");
    console.log("mensagem 2");
    response.success("mensagem 3");
    status.success("mensagem 4");
});

but I receive no message or error.

can anybody help me?

thx, 

Claudio

cha...@back4app.com

unread,
Oct 22, 2018, 9:24:26 PM10/22/18
to Back4App
Hi Claudio,

Have you already taken a look in your logs at Server Settings > Logs > Settings?

If you already did it, please, send me your app ID and I'll check it.

Regards,
Charles Ramos
Reply all
Reply to author
Forward
0 new messages