Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Generating Client Logs

Avatar

Avatar
Boost 5
Level 2
Julien
Level 2

Likes

9 likes

Total Posts

76 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile

Avatar
Boost 5
Level 2
Julien
Level 2

Likes

9 likes

Total Posts

76 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Julien
Level 2

02-02-2011

Hi,

From time to time, we will ask you to generate client logs for an issue we are trying to help troubleshoot.

Here is how you can generate Flash Player Logs:

  1. Uninstall Flash Player using the uninstaller listed on this page: http://kb2.adobe.com/cps/141/tn_14157.html
  2. Install the Flash Player 10 Debugger listed on this page: http://www.adobe.com/support/flashplayer/downloads.html#fp10
  3. Add the mm.cfg file to this location on your machine:
    1. Windows: C:\Documents and Settings\username\mm.cfg
    2. OSX: /Library/Application Support/Macromedia/mm.cfg
  4. Try the steps generating the error/problem you are seeing..
  5. Go to this folder to get the logs:
    1. Windows: C:\Documents and Settings\username\Application Data\Macromedia\Flash Player\Logs\flashlog.txt
    2. OSX: /Users/username/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt

Here is how you can generate Screensharing Add-in Logs:

  1. Add the mms.cfg file to this location on your machine:
    1. Windows: C:\Documents and Settings\username\mms.cfg [Note: for Win7-64 bit, you should use this location: C:\Windows/SysWOW64\Macromed\Flash\mms.cfg]
    2. OSX: /Library/Application Support/Macromedia/mms.cfg
  2. Try the steps generating the error/problem you are seeing.
  3. Go to this folder to get the logs (acaddin.txt):
    1. Windows logs will go in the user's My Documents folder.
    2. Mac log files will be written into the current user's folder: hard drive:Users:<current user>:

Here is what we have in the config files:

PlayerLogging=1

SingleLogFile=1

DisplayTimes=1

ErrorReportingEnable=1

TraceOutputFileEnable=1

If you want to have a different log file generated each time you use screensharing/flash player, you can change the value from 1 to 0 for SingleLogFile.

This might help if you want the logs to only show data for the steps that generate the error.

Feel free to contact us at lccs(at)adobe(dot)com if you need help with those steps.

Thanks,

Julien

LCCS QE

Replies

Avatar

Avatar
Validate 1
Level 1
scharles415
Level 1

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
scharles415
Level 1

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
scharles415
Level 1

03-02-2011

Hi Julien,

Thanks for the instructions. It will be very helpful during developement.

What about the production scenario? How can we write log message related to LCCS api into our own client or server side logs? We can not ask our customers to install debug version of the software for each and every error. For my own code, I can use flex logging api but I need information for switch the logging on for LCCS libraries.


Charles

Avatar

Avatar
Boost 50
Employee
Raff_
Employee

Likes

80 likes

Total Posts

758 posts

Correct Reply

75 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
Raff_
Employee

Likes

80 likes

Total Posts

758 posts

Correct Reply

75 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Raff_
Employee

03-02-2011

We recently (actually it was a few SDKs ago added an option to send all the trace messages coming from LCCS to a function you define.

Add this to your code:

import com.adobe.rtc.util.DebugUtil;

private function someInitFunctions():void {

...

DebugUtil.traceFunction = traceMessage;

...

}

private function traceMessage(message:String):void {

messages.text += message + "\n";

}

And the function traceMessage() will be called for every message logged by LCCS. In this case I was showing the trace in a TextArea called messages. In your case you can either call the flex logging APIs or store the messages and display them when the user presses some magic combination of keys.

Avatar

Avatar
Validate 1
Level 1
David_Welch
Level 1

Like

1 like

Total Posts

83 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
David_Welch
Level 1

Like

1 like

Total Posts

83 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
David_Welch
Level 1

18-03-2011

Is there any method to get this same log when running and Adobe AIR app?

I've tried DebugUtil but this has no effect.

Thanks,

David