KB Article #181375
FLASH EOL: How to activate debug when troubleshooting Axway Desktop Client ?
Problem
How can one obtain more detailed logs (debug) when troubleshooting ADC?
Resolution
Method 1. ADC (Electron JS) debugging: use "--enable-logging", "--v" or "--log-net-log" command line switches:
When starting Axway Desktop Client from command line one can add extra switches to produce additional logs as follows:
1.1. Include "--enable-logging --v=1" command line switches to obtain more details directly in the command prompt window:
axway-desktop-client.exe --enable-logging --v=1
1.2. Alternative command for obtaining a log file, log.txt (although less details about URLs):
axway-desktop-client.exe --enable-logging --v=1 > log.txt 2>&1
1.3. Network activity log can be obtained with "--log-net-log" switch:
axway-desktop-client.exe --log-net-log=network_activity.log
The "network_activity.log" obtained with the "--log-net-log" command switch can be analyzed with the netlog-viewer.
Alternative solution for users that do not have access to Command Prompt:
- Right click "axway-desktop-client.exe" and select "Create shortcut"
- Right click the shortcut created, select "Properties" and edit the "Shortcut" tab
- Add the needed parameters/command line switches in the "Target" field after the executable
Log example when accessing: https://get.adobe.com/flashplayer/about/
[19500:1222/175328.398:VERBOSE1:proxy_resolution_service.cc(1349)]
Failed configuring with PAC script, falling-back to manual proxy
servers.
17:53:43.115 > Trying to open url: https://get.adobe.com/flashplayer/about/
[19500:1222/175343.125:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://get.adobe.com/flashplayer/about/
[19500:1222/175346.266:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://www.adobe.com/etc/beagle/public/globalnav/adobe-privacy/latest/privacy.min.css
[19500:1222/175346.282:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://cdn.cookielaw.org/scripttemplates/otSDKStub.js
[19500:1222/175346.713:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://wwwimages.adobe.com/www.adobe.com/images/shared/product_logos/159x120/159x120_flash.gif
More details here:
https://www.electronjs.org/docs/tutorial/application-debugging
https://www.electronjs.org/docs/api/command-line-switches#--enable-logging
Method 2. FLASH specific
1. Create mm.cfg file in
c:\Users\%username%\AppData\Roaming\axway-desktop-client\Pepper Data\Shockwave Flash\System\
Note that this one is mm.cfg and not mms.cfg (although both are in the same directory).
2. Add the following lines inside the file
TraceOutputFileEnable=1 ErrorReportingEnable=1 TraceOutputBuffered=1
3. Execute ADC with Flash content
4. Check the log file:
c:\Users\%username%\AppData\Roaming\axway-desktop-client\Pepper Data\Shockwave Flash\WritableRoot\Logs\flashlog.txt
Example when accessing: https://get.adobe.com/flashplayer/about/
flashlog.txt:
*** EnableAllowList blocks 'https://wwwimages.adobe.com/www.adobe.com/swf/software/flash/about/flash_about_793x170.swf'. ***
*** EnableAllowList blocks 'https://wwwimages.adobe.com/www.adobe.com/swf/software/flash/about/flashAbout_info_small.swf'. ***
suggesting a new domain to be added in the whitelist.json: https://wwwimages.adobe.com
More details here:
https://helpx.adobe.com/flash-player/kb/configure-debugger-version-flash-player.html
Other FLASH EOL related articles:
FLASH EOL: Axway products impacted by Adobe Flash Player end of life
FLASH EOL: Axway Desktop Client - simplified User Guide
FLASH EOL: How to override FLASH EOL and whitelist domains in main browsers on Windows
FLASH EOL: How to activate debug when troubleshooting Axway Desktop Client?
FLASH EOL: Identifying and using the correct pepflashplayer.dll