Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

To further provide better information for my other question about browsers and Pulse audio, I wanted to see if I could get some kind of helpful log information.

I've looked at logs from both Pulseaudio and Firefox, but don't see anything like an error in either of them.

The problem I'm experiencing may be coming from Flash. Is there a way I can trap specifically any log output from Flash?


Update:

I've downloaded the Linux Flash Player 10.3 Plugin content debugger, and I've installed libflashplayer.so in ~/.mozilla/firefox/plugins/, and copied the user/* files to /user. I've also set up mm.cfg to say:

ErrorReportingEnable=1
TraceOutputFileEnable=1
MaxWarnings=50
TraceOutputFileName=/home/dave/.macromedia/Flash_Player/Logs/flashlog.txt

And I rebooted just to be sure everything was starting fresh.

However, after playing a Flash video from Youtube, flashlog.txt is not being generated.

How can I be sure that logging is in fact enabled, so I can tell whether I'm simply not getting errors or I haven't set up logging correctly?

share|improve this question
add comment

closed as too localized by jrg Apr 30 '13 at 11:07

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

The location for the logs is:

/home/username/.macromedia/Flash_Player/Logs/

You have to have logging enabled. Take a look at this.

This will explain the way you can find out the error in using flash or flex as the front end for your applications. By default flash/flex‘s logger is not enabled. That means it wont log the errors raised to any file. You need to enable the logger.

This is from the Adobe site. It explains how to configure the debugger version of Flash Player for all operating systems including Linux.

share|improve this answer
    
I have a /home/username/.macromedia/Flash_Player/ directory, but there is no Logs directory within it. There are are only two directories, macromedia.com and #SharedObjects. –  Dave M G May 27 '12 at 14:09
    
Thank you for the update on how to enable logging. I created the configuration file as instructed, but it doesn't seem to be generating the logging output. I tried rebooting in hopes that whatever process that is responsible for Flash would initialize with logging, but that didn't work either. Is there something else I need to do in order to ensure Flash starts logging events? –  Dave M G May 28 '12 at 2:48
    
Those this work? –  Braiam Jan 22 at 18:47
    
If my memory serves me right, and it usually does, it did work. –  Mitch Jan 22 at 19:28
add comment

Hope this helps too (for the sake of google search it came from):

In order to do trace, you need the debugger version of Flash Player from http://www.adobe.com/support/flashplayer/downloads.html (look for "debugger" version specifically - they are hard to spot on first look)

Then an mm.cfg file in your home containing

ErrorReportingEnable=1 TraceOutputFileEnable=1 MaxWarnings=50

And then you are good to go - restart the browser. When traces start to fill in, you will find the log file in

~/.macromedia/Flash_Player/Logs/flashlog.txt

Something like

tail ~/.macromedia/Flash_Player/Logs/flashlog.txt -f

Source: http://stackoverflow.com/questions/825316/flash-trace-output-in-firefox-linux

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.