Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
rjv
Level 7

Capturing error logs

Relatively new Roku developer here. I know that I can use the Brightscript debug console when I'm developing my app, but is there any way that I can capture the log/errors from my beta testers? I have a private channel that a few people have installed, and they've had a few issues maintaining a connection to an HLS stream for large chunks of time (e.g. overnight). Is there any way I can automatically have their error/debug logs sent to me if their session gets killed?

The way I see it, there are three variables I need to research: (1) the app, (2) the HLS server, or (3) the tester's network connection. Having a log would be incredibly helpful.

Thank you!
0 Kudos
2 Replies
NewManLiving
Level 7

Re: Capturing error logs

roSystemLog component may give you
Some further insight
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos
Roku Employee
Roku Employee

Re: Capturing error logs

You could write all output to a text string or file and http POST it to your server periodically with asyncPostFromString or AsyncPostFromFile.

You would probably just use string concatenation with the carriage return function to build your string or file.

- Joel
0 Kudos