Skip to main content

How to Acquire SDK Logs

The Player Network SDK team can obtain Player Network SDK logs to help diagnose issues based on the logs.The SDK log naming format is INTL_YYYYMMDDHH.log.For example, a log from June 1, 2021, at 13:00 will be named INTL_2021060113.log.

INTLConfig.ini File Configuration

ParameterDescription
LOG_LEVELLog Level
0: Debug
1: Info
2: Warning
3: Error
Default: 3
LOG_CONSOLE_OUTPUT_ENABLEWhether to output console logs
0: Disabled
1: Enabled
Default: 0
LOG_FILE_OUTPUT_ENABLEWhether to output persistent logs
0: Disabled
1: Enabled
Default: 0

For more information, see Configure SDK Logs.

Enable Unity C# Log Switch

INTLAPI.isDebug = true;

Acquire SDK Logs (Android)

SDK V1.7 and Above

Acquire Logs Using Android Studio

  1. After connecting your mobile device to the computer, open Android Studio.

  2. In Android Studio, find the corresponding device in Device File Explorer.

  3. Find the corresponding log in sdcard/Android/data/{package name}/files/log folder.

  4. Right-click the desired log file to open the file menu.

  5. Click Save As to save the log on your computer.

    Image: Log Acquisition Flowchart

Acquire logs using adb command line

adb pull "/sdcard/Android/data/{package name}/files/log"

SDK V1.7 and Below

Acquire APK Debug Version Logs

  1. After connecting your mobile device to the computer, open Android Studio.

  2. Find the corresponding device in Device File Explorer in Android Studio.

  3. Find the corresponding log in data/data/{package name}/files/INTL/log folder.

  4. Right-click the desired log file to open the file menu.

  5. Click Save As to save the log on your computer.

    Image: Acquire Debug Version Logs with Android Studio

Acquire APK Release Version Logs

Logs for Release versions cannot be acquired via Device File Explorer.However, you can filter INTL logs in Logcat within Android Studio to obtain real-time runtime logs.

Image: Acquire Release Version Logs with Android Studio

Acquire Logs (iOS)

Acquire logs with Finder (SDK V1.9 and above)

  1. After connecting your mobile device to the computer, open Finder.

  2. In the sidebar, select the corresponding device.

    Image: Acquire Logs 1

  3. Open Files > INTLSample, and copy the INTL folder to your local machine.

    Image: Acquire Logs 2

  4. Locate logs in the local /INTL/Log folder.

    Image: Acquire Logs 3

Acquire logs from Xcode

  1. After connecting your mobile device to the computer, open Xcode.

  2. Find the corresponding device under Window > Devices and Simulator.

  3. Click Show Device Console to view logs.

    Image: Acquire Logs from Xcode

Acquire logs from Console

  1. After connecting your mobile device to the computer, open the Console application.

  2. After locating the device, click Start streaming to view all logs from the device.

    Image: Acquire Logs from Console 1

  3. In the Process column, right-click the process name to open the file menu.

  4. Right-click Show Process ‘package name’ to filter logs for other apps.

    Image: Acquire Logs from Console 2

Acquire SDK Logs (Windows)

Acquire SDK logs using Windows Game Engine Editor

Player Network SDK V1.11 and Earlier

Log location: Project_Path/INTL/log/

Player Network SDK V1.12 and Later

Log location: C:\ProgramData\INTL\log

Acquire logs from Windows Executable Package

Player Network SDK V1.11 and Earlier

Log location: your_exe_path\your_project_name_Data\Plugins\INTL\log

Player Network SDK V1.12

Log location: C:\ProgramData\INTL\log

Player Network SDK V1.13 to V1.15

Set log location using Shared Storage in SetDefaultSharedStorage.

If not configured (not recommended), the log will be located at C:\ProgramData\INTL\log.

Player Network SDK V1.16 and Later

The logs will be in the SetDefaultUserStorage of the Shared Data Folder.

If not configured (not recommended), the logs will be located at %ProgramData%\INTL\{game id}\{application name}\.

Acquire Logs (PS5)

Acquire logs from Target Manager

  1. In the Home tab, click Apps > Console Output.

  2. Click Open log directory to open the log folder.

    Image: Acquire Logs from PS5 Image: Acquire Logs from PS5

Acquire Logs (Xbox)

Acquire logs from Xbox Manager

Click xbWatson in the main menu of Xbox Manager to view debug logs.

Image: Acquire Logs from Xbox