Forum Discussion

rjv's avatar
rjv
Visitor
11 years ago

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!

2 Replies

  • 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