Flex3——log日志文件 关于mm.cfg日志配置文件的设置

装好了debug版本的flash player插件,配置flashlog.txt的日志记录文件。

 

mm.cfg配置文件的存放路径:

 

Windows XP  C:/Documents and Settings/username

 

Windows 7   C:/Users/username

 

Linux      /home/username  ——未测试

 

Macintosh OS X  /Library/Application Support/Macromedia  ——未测试

 

 

flashlog.txt日志文件的生成路径:

 

Windows XP    C:/Documents and Settings/username/Application Data/Macromedia/Flash Player/Logs

 

 

Windows 7   C:/Users/username/AppData/Roaming/Macromedia/Flash Player/Logs

 

 

Linux       /home/username/.macromedia/Flash_Player/Logs/  ——未测试

 

Macintosh OS X  /Users/username/Library/Preferences/Macromedia/Flash Player/Logs/  ——未测试

 

mm.cfg配置文件详细参数

AssetCacheSize=20
AutoUpdateDisable=0
AutoUpdateInterval=-1
AVHardwareDisable=0
DisableDeviceFontEnumeration=0
DisableProductDownload=0
ErrorReportingEnable=1
FileDownloadDisable=0
FileUploadDisable=0
FullScreenDisable=0
LocalFileReadDisable=0
LocalStorageLimit=6
MaxWarnings=500
PolicyFileLog=1
PolicyFileLogAppend=1
SuppressDebuggerExceptionDialogs=1
TraceOutputFileEnable=1
TraceOutputFileName=C:\Users\jmu\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt  ——win7的路径

这是我的mm.cfg文件(从宇哥win7上拷过来的),其实只要设置标红的参数就OK了,但蓝色的实际上是设置日志文件存放路径的,上面是宇哥文件里的路径,我拿来没有修改过,但日志文件好像自己会根据系统来存放在默认位置而无视这个参数。

最后有个小技巧,如何验证正确安装了debug版本的flash player,只要在浏览器中浏览flash页面,点右键,查看是否有“调试器”这个选项,有就说明已经安装好了。

 

posted @ 2012-04-06 09:27  这瓜保熟吗  阅读(2430)  评论(0编辑  收藏  举报