Obtain Logs

This section provides instructions on how to retrieve logs for the following platforms:


  1. Open the desktop sample app folder.

  2. Right-click the desktop-sampleapp batch file and select Edit.

    desktop-sampleapp Batch File
  3. 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

  4. Save batch file and run it.

    Your logs should now appear in the file log.txt in the folder.


  1. Open Android Studio.

    Android Studio
  2. On this screen go to tools > Android > SDK Manager.

    Verify the Android version on your device is also downloaded in Android Studio.

    SDK Manager
  3. Connect the Android device to the computer.

  4. Click Android Device Monitor in the toolbar.

    Your logs will now show up in the Logcat tab.

    Android Device Monitor


  1. Connect the iOS Device to Mac.

  2. Open Xcode.

  3. From the App menu select Window > Devices and select the iOS device you have connected to your Mac.

  4. Click the arrow button on the bottom left of the screen and it will bring up the logs for that device.

    Device InformationDevice Logs

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.