Skip navigation
Currently Being Moderated

Flash 10.1.53.64 - no flashlog.txt logging

Jun 24, 2010 4:17 AM

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?

 
Replies 1 2 Previous Next
  • Currently Being Moderated
    Jun 24, 2010 4:25 AM   in reply to rootsounds

    I'm running that same version of the player and FlashBug/Firebug are working fine.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 24, 2010 9:56 AM   in reply to rootsounds

    Are you sure you installed a debugger version of 10.1?

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 28, 2010 4:58 AM   in reply to rootsounds

    I am on Windows XP Service Pack 3

     

    My flashlog.txt is located at

     

    "c:\Documents and Settings\[user name]\Application Data\Macromedia\Flash Player\Logs\flashlog.txt"

     

    Under 10.1.51.66 Debug player "flashlog.txt" is filled with warnings due to https://bugs.adobe.com/jira/browse/FP-4615

     

    Warning: 'StageVideo' has no property 'prototype'

    Warning: 'AsBroadcaster' has no property 'addListener'

    Warning: 'AsBroadcaster' has no property 'removeListener'

     

    Under 10.1.53.64 Debug Player those warnings are gone (hurray) and flashtlog.txt file is correctly recreated every time.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 29, 2010 5:44 AM   in reply to rootsounds

    I also have the same issue, so i can confirm its not an isolated problem.

     

    The only difference is that i'm running Windows 7.

     

    Any ideas on this would be much appreciated.

     
    |
    Mark as:
  • Currently Being Moderated
    Calculating status...
    Jul 27, 2010 1:33 AM   in reply to jdeeman

    Same problem, my flashlog.txt is never fill... I don't understand why...

    With flashplayer 10.0.x : it's OK.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 27, 2010 2:50 PM   in reply to rootsounds

    I don't have the answer, but I think that there is now someone besides the AIR Runtime that is leaving the file locked.  I think if you try to clear the Trace file out of Firebug you have a pretty good chance of getting a #3013 error.  In my test environment, I can clear that by re-starting Firefox -- annoying, but at least it lets me get back to testing.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 28, 2010 7:41 AM   in reply to rootsounds

    Does the Flash Builder console work?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 3, 2010 10:39 PM   in reply to rootsounds

    I am on OS X and have the same problem with Chrome and Firefox.  FP 10.1.53.64.

     

    I went so far as to remove the Macromedia folder and reinstall FP 10.1 Debugger and no difference.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 4, 2010 2:28 PM   in reply to Eric Fickes

    I'm also failing to get trace output in flashlog.txt. I have the following statements in mm.cfg:

    ErrorReportingEnable=1
    TraceOutputFileEnable=1

     

    but I get no trace output.

     

    Curiously, flashlog.txt was modified earlier today, apparently by Photoshop; here's the entire contents of the file:

    Load Bundle at C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Plug-ins\Extensions **********Running app: C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Plug-ins\Extensions\ScriptUIFlexServer-app.xml ScriptUI is ready. Host logging disabled Debug tracing disabled Finished loading style definitions

     

    But debugging in Flash Builder with the debug Flash Player V10.1.53.64 produces no trace output in the file.

     

    Windows 7 x64

    Firefox 3.6.8

     

    David Salahi

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 4, 2010 9:19 PM   in reply to DavidSalahi

    Have been researching this some more. Also, don't get any logging of trace statements from Flash Pro CS5. Furthermore, no logging of trace statements in Flashbug (for Firebug) nor in De MonsterDebugger although the MonsterDebugger does connect to the running SWF. No logging from the ActiveX version of the debug player in IE either.

     

    David Salahi

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 4, 2010 9:42 PM   in reply to DavidSalahi

    I haven't tried Flash CS5, but I was seeing trace() statements in Flash

    Builder.

     

    -EF

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 5, 2010 4:31 PM   in reply to rootsounds
     
    |
    Mark as:
  • Currently Being Moderated
    Aug 5, 2010 4:47 PM   in reply to Keyston

    Wow, thanks a million for the tip! That was the problem. Exiting Photoshop gets my flashlog.txt logging back along with trace output in Flashbug.

    Thanks again,

    Dave

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 6, 2010 1:17 AM   in reply to Keyston

    Hi

     

    Thanks for the tip, but it don't work for me, my flashlog.txt isn't locked by any process (I have checked with Process Explorer).

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 6, 2010 10:22 AM   in reply to amshagar

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 6, 2010 10:55 AM   in reply to Flex harUI

    FYI, the path on Windows 7 is:

    C:\Users\username\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 6, 2010 11:10 AM   in reply to Keyston

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 6, 2010 11:22 AM   in reply to Eric Fickes

    Your mm.cfg should contain these two lines:

    ErrorReportingEnable=1
    TraceOutputFileEnable=1

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 6, 2010 11:28 AM   in reply to DavidSalahi

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

    the TraceOutputFileName entry?

     

    -EF

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 6, 2010 11:40 AM   in reply to Eric Fickes

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 11, 2010 3:43 AM   in reply to rootsounds

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 11, 2010 9:11 AM   in reply to rootsounds

    Yup same here.  Upgraded to 10.1.8 and still no logging on OS X.  Haven't

    tried PC yet.

     

    BTW, Chrome wasn't updated but Firefox was.  Is there a Chrome player update

    somewhere?

     

    -EF

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 11, 2010 10:19 AM   in reply to Eric Fickes

    Did you try going to the Adobe site from Chrome?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 11, 2010 10:21 AM   in reply to rootsounds

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

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

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 11, 2010 11:29 AM   in reply to Flex harUI

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 16, 2010 9:32 AM   in reply to Flex harUI

    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.htm l

     

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 17, 2010 1:48 PM   in reply to rootsounds

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 18, 2010 9:54 AM   in reply to rootsounds

    Please open a bug with your findings.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 21, 2010 5:34 AM   in reply to Flex harUI

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

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 28, 2010 9:09 PM   in reply to amshagar

    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

     
    |
    Mark as:
1 2 Previous Next

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points