SOS Flash Log Tail

At work I use SOS in conjunction with the As2lib Logging API to log messages from flash. This works very well, except for the odd legacy program that uses the trace command for logging. This is where the flash debug player comes in handy.

To use this feature I uninstalled the flash player and installed the flash debug player.

Then I wrote a batch file to create the required mm.cfg file for me.

@echo off
set mmcfgfile="%HOMEDRIVE%%HOMEPATH%\mm.cfg"
set logfile="%APPDATA%\Macromedia\Flash Player\Logs\flashlog.txt"
echo ErrorReportingEnable=1        >  %mmcfgfile%
echo TraceOutputFileEnable=1       >> %mmcfgfile%
echo MaxWarnings=0                 >> %mmcfgfile%
echo TraceOutputFileName=%logfile% >> %mmcfgfile%
echo Done.

After which I manually set the flashLog path in SOS to C:\Documents and Settings\username\Application Data\Macromedia\Flash Player\Logs\flashLog.txt. It doesn’t support the %APPDATA% environment variable.

Screenshot SOS Flash Log Tail Config menuitem
Screenshot SOS Flash Log Tail Config window

Also see Trace from the browser, using standard trace() by Mark Walters.

Also see AS3 hidden treasure in the mm.cfg file. Revealing and documenting many Flash secrets! by Jean-Philippe Auclair.

Comments are closed.