Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Developer
Posts: 24
Registered: ‎12-08-2012
My Device: Z10 Ferrari Red
My Carrier: Rogers
Accepted Solution

Accessing logs on Mac

I need help accessing logs in tmp folder on BB10 phone via Mac. I tried accessing it through ssh but I couldn't get through. Is there a step by step process laid out?

 

Also, I know there is slogger2 but in Momentics IDE for Mac I do not see an option to right click and then access through SSH to use slogger2.

 

Thanks,

Daxal

Developer
Posts: 1,746
Registered: ‎04-08-2010
My Device: Passport Silver, PRIV
My Carrier: Telekom.de, O2, Vodafone

Re: Accessing logs on Mac


laxad wrote:

...

 

Also, I know there is slogger2 but in Momentics IDE for Mac I do not see an option to right click and then access through SSH to use slogger2.

 

Thanks,

Daxal


TargetNavigatorView --> look for your device, right click Launch SSH Session

and the session should be opened in Terminal view

 

then enter

slog2info -w

and log output should appear

 

or enter

slog2info -w | grep 9000

to reduce some noise from output. think there will be better grep params, but I'm not an expert there. for Beta4 Peter Hansen had a great command - but this one doesn't work anymore with Gold, so I tried and found grep 9000 helpful

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner
International Development native Mobile Business Apps
BlackBerry 10 | Qt Mobile (Android, iOS)
Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org
mobile-development: http://appbus.org Twitter: @ekkescorner
Highlighted
New Developer
Posts: 24
Registered: ‎12-08-2012
My Device: Z10 Ferrari Red
My Carrier: Rogers

Re: Accessing logs on Mac

The grep command is sufficient to debug! Thank you for all your help!