轻松配置你的flash log

简介: Configuring the debugger version of Flash Player Revised 2/4/2008: Added URL for obtaining debugger version of Flash Player.

Configuring the debugger version of Flash Player

Revised 2/4/2008: Added URL for obtaining debugger version of Flash Player.

You use the settings in the mm.cfg text file to configure the debugger version of Flash Player (available from www.adobe.com/support/flashplayer/downloads.html). You must create this file when you first configure the debugger version of Flash Player. The location of this file depends on your operating system. The following table shows where to create the mm.cfg file for several operating systems.

Revised 4/12/2007: Corrected default location of mm.cfg file on Linux.
Revised 2/4/2008: Added location for Windows 95/98/ME and Windows Vista, corrected location for Windows 2000 and Linux.

Operating system

Create mm.cfg file in this directory

Macintosh OS X

MacHD:Library:Application Support:macromedia:

Microsoft Windows Vista

C:\Users\user_name\

Microsoft Windows 2000/XP

C:\Documents and Settings\user_name\

Microsoft Windows 95/98/ME
%HOMEDRIVE%\%HOMEPATH%\

Linux

/home/user_name

The following table lists the properties that you can set in the mm.cfg file:

Property

Description

ErrorReportingEnable

Enables the logging of error messages.

Set the ErrorReportingEnable property to 1 to enable the debugger version of Flash Player to write error messages to the log file. To disable logging of error messages, set the ErrorReportingEnable property to 0.

The default value is 0.

MaxWarnings

Sets the number of warnings to log before stopping.

The default value of the MaxWarnings property is 100. After 100 messages, the debugger version of Flash Player writes a message to the file stating that further error messages will be suppressed.

Set the MaxWarnings property to override the default message limit. For example, you can set it to 500 to capture 500 error messages.

Set the MaxWarnings property to 0 to remove the limit so that all error messages are recorded.

TraceOutputFileEnable

Enables trace logging.

Set TraceOutputFileEnable to 1 to enable the debugger version of Flash Player to write trace messages to the log file. Disable trace logging by setting the TraceOutputFileEnable property to 0.

The default value is 0.

TraceOutputFileName

Note: Beginning with the Flash Player 9 Update, Flash Player ignores the TraceOutputFileName property.

Sets the location of the log file. By default, the debugger version of Flash Player writes error messages to a file named flashlog.txt, located in the same directory in which the mm.cfg file is located.

Set TraceOutputFileName to override the default name and location of the log file by specifying a new location and name in the following form: On Macintosh OS X, you should use colons to separate directories in the TraceOutputFileName path rather than slashes.

TraceOutputFileName=<fully qualified path/filename>

The following sample mm.cfg file enables error reporting and trace logging:

ErrorReportingEnable=1
TraceOutputFileEnable=1

Subtopics

Log file location

Log file location

The default log file location changed between the initial Flash Player 9 release and the Flash Player 9 Update. In the initial Flash Player 9 release, the default location is the same directory as the mm.cfg file and you can update the log file location and name through the TraceOutputFileName property.

With the Flash Player 9 Update, you cannot modify the log file location or name. The filename is flashlog.txt, and its location is hard-coded, depending on your operating system. The following table shows the flashlog.txt file location:

Revised 2/4/2008: Corrected default locations for log file.

Operating system

Location of flashlog.txt

Macintosh OS X

MacHD:Users:user_name:Library:Preferences:Macromedia:Flash Player:Logs:flashlog.txt

Microsoft Windows Vista

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

Windows 95/98/ME/2000/XP

C:\Documents and Settings\user_name\Application Data\Macromedia\Flash Player\Logs\flashlog.txt

Linux

/home/user_name/.macromedia/Flash_Player/Logs/flashlog.txt

相关实践学习
日志服务之使用Nginx模式采集日志
本文介绍如何通过日志服务控制台创建Nginx模式的Logtail配置快速采集Nginx日志并进行多维度分析。
相关文章
|
26天前
|
监控 Serverless 数据库
Serverless 应用引擎常见问题之biphon-education-配置了SLS后一直重启如何解决
Serverless 应用引擎(Serverless Application Engine, SAE)是一种完全托管的应用平台,它允许开发者无需管理服务器即可构建和部署应用。以下是Serverless 应用引擎使用过程中的一些常见问题及其答案的汇总:
28 5
|
1月前
|
存储 JSON 监控
可以通过配置Filebeat来将Higress日志持久化到磁盘
【2月更文挑战第10天】可以通过配置Filebeat来将Higress日志持久化到磁盘
27 4
|
2月前
|
Java
flume的log4j.properties配置说明
flume的log4j.properties配置说明
|
4月前
|
Java Spring
spring boot 配置log4j 日志
spring boot 配置log4j 日志
69 0
|
4月前
|
监控 Java 数据库
Spring事务相关配置、案例:转账业务追加日志及事务传播行为
Spring事务相关配置、案例:转账业务追加日志及事务传播行为
46 0
|
5月前
|
消息中间件 存储 Shell
Docker部署RabbitMQ配置日志映射本地文件
Docker部署RabbitMQ配置日志映射本地文件
117 0
|
5月前
|
NoSQL Redis Docker
docker配置redis映射本地日志
docker配置redis映射本地日志
125 0
|
5月前
|
Java
logback为日志配置颜色
logback为日志配置颜色
|
6月前
|
网络协议 应用服务中间件 nginx
nginx配置tcp协议代理的日志
nginx配置tcp协议代理的日志
145 0
|
3月前
|
Java Maven
springboot 日志配置
springboot 日志配置
112 0