Last active
December 15, 2015 17:29
-
-
Save singuerinc/5296967 to your computer and use it in GitHub Desktop.
Configure Flash Player logs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MM_DIR="/Library/Application Support/Macromedia" | |
LG_DIR="${HOME}/Library/Preferences/Macromedia/Flash Player/Logs" | |
sudo mkdir -vp $MM_DIR | |
# create config file | |
sudo touch "${MM_DIR}/mm.cfg" | |
# Write mm config | |
sudo echo 'ErrorReportingEnable=1\nTraceOutputFileEnable=1' | sudo tee "${MM_DIR}/mm.cfg" | |
# Create Flash Player logs directory | |
mkdir -pv $LG_DIR | |
# Create Flash Player logs file | |
touch "${LG_DIR}/flashlog.txt" | |
# Add test message | |
echo 'Flashlogs test' | tee "${LG_DIR}/flashlog.txt" | |
# Restart the browser (w/ Flash Player "Debug" version) and execute: | |
tail -f "${LG_DIR}/flashlog.txt" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Download + Execute: