The Software Client for macOS writes log files that document its processes and interactions with other services such as brokers and agents. These files are invaluale in diagnosing problems. This page describes how logs are handled and where they can be found.
Software Client for macOS log files are located within the user’s Home Library folder, which is hidden by default. The recommended way to access Home Library files is to use the macOS Console.
You can also display log files in a macOS terminal window.
To display log files using the macOS Console:
- To open the Console, go to the Applications > Utilities folder, and then double-click Console.
- In the FILES section of the Log List pane on the left, navigate to the following folder: ~/Library/Logs/Teradici/PCoIPClient
- Select the desired log file to view its contents in the main pane.
- To copy the contents:
- Click anywhere in the log contents, and then select Edit > Select All.
- Select Edit > Copy.
- Paste the contents into an email or text file.
To display log files in a macOS terminal window:
To open a terminal window, go to the Applications > Utilities folder, and then double-click Terminal.
Navigate to the Anyware Software Client log folder by typing the following command at the command line prompt:
lsto display the list of log files.
To view the contents of a log file, use any macOS command-line editor to open it.
Log verbosity is defined by a level, represented by an integer from 0 to 3:
|Critical messages only
|Error messages and higher
|Info messages and higher (default setting)
|Debug messages and higher
|Verbose messages and higher
The log level can be changed either from the pre-session interface, or programmatically from the Command Prompt.
Setting the Log Level in the Pre-session Interface¶
Disconnect active PCoIP sessions and return to the pre-session interface.
Click the gear icon to open the settings window.
Click Logs in the left pane.
Under Log level, specify the desired log level.
Setting the Log Level Programmatically¶
Launch the Software Client for macOS from the Command Prompt.
log-levelflag as a part of the command.
The following example launches the client in full-screen mode, sets the log level to
3, and points to a connection broker at
/usr/bin/pcoip_client --connection-broker broker.domain.com --log-level 3 --full-screen
Tip: Reporting Issues to Support
When reporting an issue to support, set the log level to
3 (debug), reproduce the issue, and then create a support bundle. This ensures that the required details are captured, making diagnostics more effective.