• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Flash 10.1.53.64 - no flashlog.txt logging

Enthusiast ,
Jun 24, 2010 Jun 24, 2010

Copy link to clipboard

Copied

Configuration:

  • Windows XP SP3 x86
  • FlashDevelop IDE 3.2.1
  • Flex SDK 3.5.0.12683
  • Browsers: Firefox 3.6.4 (with Firebug and Flashbug) and IE8
  • Flash Player Debugger 10.1.53.64

Issue Overview:

Since upgrading from the debug player 10.0.45.2 to the latest 10.1.53.64, I've found that my trace statements are no long written to flashlog.txt from either Firefox or IE. No logs are written, which is a pretty big deal during development.

Consider that it does affect the players in both browsers. I do have mm.cfg configured correctly as per the KB instructions (no change was required, although I did experiment). I am indeed compiling in debug mode. It's not a Flashbug issue as flashlog.txt never gets updated.

Research:

I wasn't able to find much of anything in my searching. There was maybe one blog post with comments suggesting a similar issue with a 10.1RC, but didn't offer up any solutions (I hadn't been developing with the RCs). Also, I couldn't find a relevant entry in the Flash Player bug tracker.

Workaround?

For the time being, I am forced to revert back to 10.0.45.2 which worked immediately. Has anyone else experienced this issue?

Views

39.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

Did you try going to the Adobe site from Chrome?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

Yes, I've tried every Adobe url I can find and they ALL say I'm running the

latest FP for Chrome. I know this isn't an auto update which is why I

downloaded 10.1.8 from the Flash Download center.

Any other ideas?

-EF

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 16, 2010 Aug 16, 2010

Copy link to clipboard

Copied

Hey guys,

Logging is working on my OS X box again, but only in Firefox, not Chrome.

Unsure if all the recent updates fixed it, or if reading this is what

helped.

http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html

Here's what I learned, but unsure if it helped.

- Flash player looks for mm.cfg in the user's home directory first (

/Users/yourusername/ ), and then /Library/Appliations Support/Macromedia/

  • I was previously messing with mm.cfg in

/Users/username/Library/Preferences/Macromedia

- The path to flashlog.txt is now HARD CODED, and not configurable. If you

are on OS X, you should find your flashlog.txt file

at /Users/username/Library/Preferences/Macromedia/Flash Player/logs.

So for any OS X-ers have this problem, here's my setup.

- /Users/ericfickes/mm.cfg

ErrorReportingEnable=1

TraceOutputFileEnable=1

- My log file appears at

/Users/ericfickes/Library/Preferences/Macromedia/Flash Player/Logs

Hope this helps.

Eric Fickes = Independent Internet Contractor

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

Set from the commandline only affects apps running from the commandline.

Control Panel/System/Environment Variables controls what other apps see.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 17, 2010 Aug 17, 2010

Copy link to clipboard

Copied

Flex harUI wrote:

Additional info from someone on the player team:

I tried TraceLogging and it is working for me just fine on WinXP SP3 for

both IE an FF.

The user mentions that he upgraded to SP3...is it possible he needs to reset

his HOMEPATH environment variable?

%HOMEDRIVE% %HOMEPATH%

(type, e.g., echo %HOMEPATH% at a command prompt)

Regarding the Win 7 user, the path to the log file has changed since the OS

changed and I believe it is now located in the SysWow or SysWow32 or

something like that. Sorry don't have a Win 7 machine at this time to locate

exactly. Also on Win Vista the path is different from XP

Vista: C:\Users\username\AppData\Roaming\Macromedia\Flash Player\Logs

Still no luck. Corporate policy dictates those environment variables.

However, note that the above contradicts the information documented here which says that the path is hard-coded:

http://help.adobe.com/en_US/flex/using/WSda78ed3a750d6b8f-4867184d1239f9d0558-8000.html

In 10.0 it must have been hard-coded, but obviously something changed in 10.1 and this isn't documented.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 17, 2010 Aug 17, 2010

Copy link to clipboard

Copied

After being unable to get logging working since upgrading to 10.1, I fired up Sysinternals File Monitor and noticed that Flash Player is now looking for the mm.cfg file at %HOMEDRIVE%%HOMEPATH%\mm.cfg (IT remapped) for Win XP instead of C:\Documents and Settings\username\mm.cfg as it did in 10.0 and as the docs say. The flashlog.txt still goes in C:\Documents and Settings\username\Application Data\Macromedia\Flash Player\Logs though.

Not sure if this is a bug or a "feature" but it's annoying regardless.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 18, 2010 Aug 18, 2010

Copy link to clipboard

Copied

phil_thomas wrote:

After being unable to get logging working since upgrading to 10.1, I fired up Sysinternals File Monitor and noticed that Flash Player is now looking for the mm.cfg file at %HOMEDRIVE%%HOMEPATH%\mm.cfg (IT remapped) for Win XP instead of C:\Documents and Settings\username\mm.cfg as it did in 10.0 and as the docs say. The flashlog.txt still goes in C:\Documents and Settings\username\Application Data\Macromedia\Flash Player\Logs though.

Not sure if this is a bug or a "feature" but it's annoying regardless.

This appears to definitely be the case. I managed to get IT to change my HOMEDRIVE and HOMEPATH mappings and it did the trick to get logging to work with 10.1. Considering that it's not documented and not at all configurable, I would classify this as a bug. It makes the debug player pretty much useless, so it should probably be addressed.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 18, 2010 Aug 18, 2010

Copy link to clipboard

Copied

Please open a bug with your findings.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 21, 2010 Aug 21, 2010

Copy link to clipboard

Copied

Thanks for the solution, i've put mm.cfg in my folder "%HOMEDRIVE%%HOMEPATH%", and now logging works fine.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 28, 2010 Oct 28, 2010

Copy link to clipboard

Copied

Tore my head apart on this one.. tried several permutations and combinations.The homepath/homedrive solution worked.

With version flash plugin 10,1,53,64 installed i got the log file to show up - My %HOMEDRIVE% was H: and my HOMEPATH was / - so i put mm.cfg in H:/ (i.e H:/mm.cfg is the complete path to the file)  with the two lines

ErrorReportingEnable = 1

TraceOutputFileEnable = 1

and ran a swf (that had trace stmts) in a browser (IE) - The log file flashlogs.txt was created @   C:\Users\fred\AppData\Roaming\Macromedia\Flash Player\Logs

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 20, 2013 Mar 20, 2013

Copy link to clipboard

Copied

LATEST

Log file is create as name flashlog.txt, but is showing log of other application. for eg. when I opened msn.com this file also appending the logs of msn.com. Is any way to prevant it? so I can see only my application log to logger file

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 06, 2010 Aug 06, 2010

Copy link to clipboard

Copied

I wish this tip worked for me as well. I have nothing open on OS X except

my browser, or Flash Pro, and still no flashlog.txt. I've even deleted the

Flash Player folder from /Users/me/Library/Preferences/Macromedia/. After

restarting my browser, FP recreates all the folders, but never writes a log.

Can somebody verify this mm.cfg for me? I've tried these two version with

no luck

mm.cfg 1

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 06, 2010 Aug 06, 2010

Copy link to clipboard

Copied

Your mm.cfg should contain these two lines:

ErrorReportingEnable=1
TraceOutputFileEnable=1

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 06, 2010 Aug 06, 2010

Copy link to clipboard

Copied

My CFG file does contain those two lines. Are you suggesting I don't need

the TraceOutputFileName entry?

-EF

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 06, 2010 Aug 06, 2010

Copy link to clipboard

Copied

EF,

Yes, in the current version of Flash Player the filename is always flashlog.txt. The filename entry in mm.cfg is ignored. As far as I know, it shouldn't cause a problem, though.

Dave

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

Just like to add that I have the same problem. Getting no traces from Flash Player 10.1 in MSIE 8. Had to revert to 10.0 to fix the problem.

My application is a mix of Flash 8 swf's and Flex 3 swf's. Debugging in Flash Builder works fine and i get traces from the Flex code (not that i really need them). But the Flash 8 swf's don't show any traces. By the way I'm using Service Capture to display the traces.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines