Skip to main content
February 3, 2014
Question

allowDebug is not working

  • February 3, 2014
  • 1 reply
  • 1022 views

Hello,

I want to log messages when user starts recording on, so i can check  and debug errors in recording.

I use this code -

application.onAppStart = function() {

     application.allowDebug = true;

}

in main.asc and then restart media server. there are not any differences between previous logs and current logs after recording.

It seems AllowDebug is not working.

can somebody help me please?

Thanks

This topic has been closed for replies.

1 reply

Petro_O__Bochan
Inspiring
February 3, 2014

As the docs say about it - “A debug connection lets administrators view information about shared objects and streams in the Administration Console.”. This flag is for AMS admin console only. Logs will always record lots of data.

February 3, 2014

Thanks Petro for your reply, But i need to log if something went wrong during recording.

Can you suggest me something for this, i am new in action script.

Thanks

Petro_O__Bochan
Inspiring
February 3, 2014

What might go wrong with recording? It’s either recording or not. Specify our issue.