Policy file logging
Posted: 07/05/08
A very handy debug feature that was added with player 9.0.115.0 was the ability to write the policy requests the player makes, and the responses it receives from the server, to a local log file. Doing this can save hours of debugging and diagnostics that eventually point to policy file and LoaderContext issues that are easily remedied. To take advantage of this, you need to do the following:
1) Ensure you have the debug player installed. It won't work without it.
2) Find the mm.cfg text file, usually located in C:\documents and settings\USERNAME
(If it doesn't exist, just create it yourself)
3) Enable policy logging by adding the following line to the mm.cfg file
PolicyFileLog=1
4) Run your app in debug mode, and then open policyfiles.txt that will be created in C:\Documents and Settings\USERNAME\Application Data\Macromedia\Flash Player\Logs
The Macromedia path is still used despite it now being an Adobe product
Vista Users:
Your path will be something more like: C:\Users\USERNAME
Keywords for this post: flash player, flash, logs, policy files
Popular categories:
Recent posts:
- Mac OS find files using regex
- ADB device driver won't install
- Eclipse: An error has occurred. See the log file .metadata/.log
- Updated blinkbox iPad app
- Nexus 7 doesn't appear in adb devices list
- Improve the keyboard in the Samsung ICS update
- 403 Forbidden error on Mac web server
- Getting error with manually created NIB?
- Adding/removing items from PATH on Mac
- Presenting at Flash Oxford
- more...
Publications:
Places you'll find me:
Archive:
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023