Confirmed users
2,023
edits
Line 25: | Line 25: | ||
===PR Logging=== | ===PR Logging=== | ||
You can use the env vars as described above to make logging work (along with {{bug|578493}}. With just that you can log to a file | You can use the env vars as described above to make logging work (along with {{bug|578493}}). With just that you can log to a file | ||
adb shell am start -a android.activity.MAIN -n org.mozilla.fennec/org.mozilla.fennec.App --es env0 NSPR_LOG_MODULES=all:5 --es env1 NSPR_LOG_FILE=/mnt/sdcard/log.txt | adb shell am start -a android.activity.MAIN -n org.mozilla.fennec/org.mozilla.fennec.App --es env0 NSPR_LOG_MODULES=all:5 --es env1 NSPR_LOG_FILE=/mnt/sdcard/log.txt | ||
With the patch on {{bug|578496}} you can have the logging directed to the android logs and as such only need: | With the patch on {{bug|578496}} you can have the logging directed to the android logs and as such only need: | ||
adb shell am start -a android.activity.MAIN -n org.mozilla.fennec/org.mozilla.fennec.App --es env0 NSPR_LOG_MODULES=all:5 | adb shell am start -a android.activity.MAIN -n org.mozilla.fennec/org.mozilla.fennec.App --es env0 NSPR_LOG_MODULES=all:5 |