Obtain Logs
This section provides instructions on how to retrieve logs for the following platforms:
Windows
Open the desktop sample app folder.
Right-click the
desktop-sampleapp
batch file and select Edit.Add
> log.txt
to the end of the command:“.\jre7\bin\java” “-Djava.library.path=.\nativeLibs” -classpath “.\libs\*”;. com.elavon.sample.desktopgui.MyJFrame > log.txt
Save batch file and run it.
Your logs should now appear in the file
log.txt
in the folder.
Android
Open Android Studio.
On this screen go to tools > Android > SDK Manager.
Verify the Android version on your device is also downloaded in Android Studio.
Connect the Android device to the computer.
Click Android Device Monitor in the toolbar.
Your logs will now show up in the Logcat tab.
iOS
Connect the iOS Device to Mac.
Open Xcode.
From the App menu select Window > Devices and select the iOS device you have connected to your Mac.
Click the arrow button on the bottom left of the screen and it will bring up the logs for that device.
C# / CWS
Most of the logs related to CWS are located in C:\Program Files (x86)\Elavon\CommerceWebServices\logs
if you installed CWS into the default directory. Otherwise you will need to navigate to whatever directory you specified at installation time. It is recommended to compress this entire “logs” directory into a single zip file to make it more convenient for you to send to your Elavon Support Representative.
When you first initialize the C# wrapper and you call it’s Start method you pass the full path to a log file. This log file will contain any errors encountered as well as the JSON requests/responses to/from CWS.