IBM Z® Open Editor
Docs
News and Blogs
IBM Downloads
VS Code Marketplace
GitHub
Docs
News and Blogs
IBM Downloads
VS Code Marketplace
GitHub
  • Overview

    • Introduction
    • Updates and user feedback
  • Getting Started

    • Getting started with IBM Z Open Editor
    • Setting up integrations to interact with z/OS
    • Getting started with Zowe 3.0
  • Configuration

    • Setting preferences
    • Configuring your applications with ZAPP files
    • Setting property groups
    • Setting compiler options
    • Setting file associations
    • Setting language-specific tab stops and rulers
    • Enabling and disabling problems in IBM Z Open Editor
    • Enabling and disabling unreachable COBOL code warnings
    • Customizing the Outline view
    • Setting language-specific maximum line length
    • EBCDIC code pages and mappings files
    • Experimental: Formatting COBOL source code
  • Tutorials

    • Tutorial overview
    • Exploring the user interface
    • Exploring the sample files
    • COBOL editing tutorial
    • COBOL, PL/I Preprocessor tutorial
    • HLASM editing tutorial
    • REXX editing tutorial
    • Managing z/OS resources with IBM RSE API Plug-in for Zowe CLI tutorial
    • Submitting JCL to compile, link, and run jobs tutorial
  • Editing program files

    • Language References
    • Making COBOL and PL/I code changes
    • Making High Level Assembler code changes
    • Making REXX code changes
    • Making JCL code changes
    • Using and managing code snippets
    • Using the integrated Git
    • Searching for COBOL, PL/I, HLASM, and REXX components
  • Interacting with z/OS using Zowe

    • Interacting with z/OS
    • Creating a configuration profile in Zowe Explorer v3.0.0
    • Migrating your old Zowe yaml profiles for Zowe v3.0
    • Supported methods of authentication for z/OS using Zowe
    • Sharing team configuration files
    • Connecting to z/OS with Zowe Explorer walk through
    • Using the Zowe Explorer views
    • Using Zowe profiles in Z Open Editor
    • Connecting to z/OS using Zowe CLI walk through
    • Using command line to interact with z/OS
    • Interact with RSE Common Properties
  • Advanced Capabilities

    • Overview
    • Activating advanced capabilities
    • Launching a 3270 emulator from Zowe Explorer
    • z/OS Resources Table
    • Data Elements View
    • Program Control Flow Browser
    • Data Flow Browser
    • Preprocessor support
    • Custom Macros for HLASM
    • Language Detection
    • Linting with IBM ZCodeScan
    • User build with IBM Dependency Based Build (DBB)
    • Agent Mode
  • Cloud-based Editing

    • Overview to using Cloud and Browser-based platforms
    • Try Z Open Editor in the Red Hat Developer Sandbox
    • Configuring Red Hat OpenShift Dev Spaces
    • Managing Developer Workspaces
    • Managing secrets
    • Create and use custom images
    • Migrating from IBM Wazi for Dev Spaces
    • Using Z Open Editor on GitHub Codespaces
    • Using Z® Open Editor with Dev Containers
  • Troubleshooting

    • Known issues and limitations
    • Troubleshooting using log files
    • Troubleshooting for User Build
    • Uninstalling CLI plugins and VS Code extensions
  • Reference

    • IBM RSE API Plug-in for Zowe CLI commands
    • IBM RSE API Plug-in for Zowe CLI as nodejs SDK package
    • IBM RSE API Plug-in for Zowe CLI as nodejs SDK reference
    • Example Zowe configuation setups
    • IBM Z Open Editor MCP Tools
    • Accessibility and Keyboard Shortcuts
    • settings.json properties
    • Message ID Reference
    • Other Visual Studio Code extensions
  • Legal information

    • Notices
    • Trademarks
    • Privacy policy considerations

Troubleshooting using log files

You can configure logging for IBM Z Open Editor to produce detailed logs that help troubleshoot problems by providing more information and traces of the editor’s activities. Enable logging through a user preference setting called zopeneditor.logger. In the VS Code Preferences editor, you can select from the available log levels: DEBUG, INFO (default), WARN, ERROR, and OFF.

Some log files are created by VS Code and require a separate setting to enable them. For example, VS Code can generate a trace of all language server client-to-server interactions, as documented in the VS Code Language Server Extension Guide. To enable this log, specify the user setting "<languageId>.trace.server": "verbose", such as"cobol.trace.server": "verbose". This log can help support teams analyze specific issues related to program processing during editing.

You can choose to include RSE API user and server logs in the export. This requires that an RSE profile is set as the user's default profile (zopeneditor.zowe.defaultCliProfile), that you have administrative privileges on the connected system, and that the RSE API version 1.2.5 or later. This feature is not supported for z/OSMF.

Zowe Explorer includes its own logging mechanism, which you can configure to troubleshoot issues when accessing z/OS resources. For details, see the Zowe documentation Troubleshooting Zowe Explorer.

After logging is enabled, the output of most logs can be found in two locations:

  • In the VS Code Output panel, by selecting the name of the log file such as "IBM Z Open Editor", "IBM User Build", "IBM Z Open Editor MCP", "Zowe Explorer" and others from the drop-down list.
  • A log file written to your disk, which can be shared with technical support (if entitled) or attached to an issue filed against the public issues repository on GitHub. The first line in the VS Code Output panel shows the absolute path to the file on your system.

Additional details for each log are provided in the table below.

Export all relevant log files for technical support

You can use the Z Open Editor Export Support Files command to retrieve all relevant log files for Z Open Editor operations into a convenient ZIP file that can be shared with IBM Technical Support.

  1. In the Command Palette, select IBM Z Open Editor: Export Support Files.
  2. A dialog prompts you to choose the directory where the ZIP file is saved.
  3. A prompt asks if you want to download RSE API logs, which consists of RSE API server and user logs. If you choose to download them, you can optionally enter user IDs to collect logs for. If you do not provide a user ID, the user ID from the default RSE profile is used.
  4. After a successful export, a notification displays the path to the exported ZIP file. If RSE logs cannot be retrieved, a warning message is displayed.

Review the log files

Use the log files contained in the exported ZIP file to troubleshoot issues using the information provided.

For example, when investigating why a specific include file was not found by the editor, the log file named "zopeneditor-<timestamp>.log" generated at the DEBUG log level can provide a trace of the editor’s activities. This includes locating ZAPP files in your workspaces, identifying the property groups used, and listing the directories the editor searches. You can review the log to see where the initial request for a specific file was made, the steps taken to process the request, and any errors that were reported. Because requests for all include files in a program are processed in parallel, each request is assigned a unique request ID. This ID helps distinguish concurrent events in the log.

Locate log files manually

If you prefer to locate the log files yourself either those exported using the procedure above or those generated in real time, you can refer to the list of locations below. The table also includes the names used to identify each log in the VS Code Output view.

Log typeVS Code Output View NameLocation
The main log for Z Open Editor activitiesIBM Z Open EditorThe location is specified in the Output panel on the second line.
** The log file is available at...
  • Windows example: C:\Users\username\AppData\Roaming\Code\logs\20200921T153526\exthost1\IBM.zopeneditor\zopeneditor-1-1-0.log
  • Mac example: /Users/username/Library/Application Support/Code/logs/20200928T093225/exthost5/IBM.zopeneditor/zopeneditor-1-1-0.log
Language Server logNot in OutputIn the main log, locate the line that begins with the following text to find the LSP logs:
** ZLanguageServer: Will start a language server with command...

Then find the -data, tag, which precedes the LSP log file location.
  • Windows example: C:\Users\username\AppData\Local\Temp\_ws_<id>\.metadata/.log
  • Mac example: /var/folders/sr/qztfyx3d39z50jgl50ls_b0r0000gn/T/_ws_<id>/.metadata/.log
Language Client log<Language> Language ServerAvailable only after you enable the VS Code setting described in the preceding section. The log appears in a dynamically created folder, as shown in the following examples:
  • Windows example: C:\Users\username\AppData\Roaming\Code\logs\20251020T172305\window14\output_logging_20251023T155230\7-COBOL Language Server.log
  • Mac example: /Users/phaumer/Library/Application Support/Code/logs/20251020T172305/window14/exthost/output_logging_20251023T155230/7-COBOL Language Server.log
Zowe Explorer logZowe Explorer
  • Windows example: C:\Users\username\.vscode\extensions\zowe.vscode-extension-for-zowe-1.9.0\logs
  • Mac example: /Users/username/.vscode/extensions/zowe.vscode-extension-for-zowe-1.9.0/logs
RSE API plug-in for Zowe CLI (RSE CLI plug-in) logsNot in OutputLog files are located in the location:
  • ~\.zowe\logs
RSE API user logNot in OutputOptional. Requires RSE profile, administrative privileges, and RSE API v1.2.5+.
RSE API server logNot in OutputOptional. Requires RSE profile, administrative privileges, and RSE API v1.2.5+.
VS Code Extension Host log showing general editor eventsExtension HostLog files are located in:
  • Windows example: C:\Users\username\AppData\Roaming\Code\logs\20200921T153526\window1\exthost\exthost.log
  • Mac example: /Users/username/Library/Application Support/Code/logs/20200921T153526/window1/exthost/exthost.log
User Build outputIBM User BuildLog files are located in:
  • Windows example: C:\Users\username\AppData\Roaming\Code\logs\20251013T153526\window1\exthost\IBM.zopeneditor\userbuild-20251013-140632.log
  • Mac example: /Users/username/Library/Application Support/Code/logs/20200921T153526/window1/exthost/IBM.zopeneditor/userbuild-20251013-140632.log
Z Open Editor MCP events and tracesZ Open Editor MCPLog files are located in:
  • Windows example: C:\Users\username\AppData\Roaming\Code\logs\20251013T153526\window1\exthost\IBM.zopeneditor\zopeneditor-mcp-20251013-140632.log
  • Mac example: /Users/username/Library/Application Support/Code/logs/20200921T153526/window1/exthost/IBM.zopeneditor/zopeneditor-mcp-20251013-140632.log
ZCodeScan events and tracesIBM ZCodeScanLog files are located in:
  • Windows example: C:\Users\username\AppData\Roaming\Code\logs\20251013T153526\window1\exthost\IBM.zopeneditor\zcodescan-20251013-140632.log
  • Mac example: /Users/username/Library/Application Support/Code/logs/20200921T153526/window1/exthost/IBM.zopeneditor/zcodescan-20251013-140632.log

Finding versions of all VS Code extensions installed

Enabling logging also provides information that technical support will be asking for. To retrieve it:

  1. Ensure that your IBM Z Open Editor logger preference is set to DEBUG.
  2. In the Output console window, select IBM Z Open Editor from the drop-down list. The following information is listed:
    • IBM Z Open Editor version
    • Editor platform and version
    • Editor Installation information
    • Java SDK configuration location and memory allocation
    • Key user settings
    • Zowe Explorer VS Code Extension version
    • Other VS Code Extensions visible

Finding Zowe CLI version and RSE CLI plug-in version

In the VS Code Terminal window, enter the applicable commands:

  • Command for Zowe CLI: zowe --version
  • Command for RSE CLI plug-in: zowe plugins list

Log levels

IBM Z Open Editor uses the log levels described in the following chart. These levels are listed in order of most to least detailed (with the exception of OFF, which turns off all logging). For example, the DEBUG setting will output detailed debug information as well as messages from the other levels below it: INFO, WARN, and ERROR. In contrast, the ERROR setting will only log important errors.

Log levelDescription
DebugIdentifies detailed informational events that are useful for troubleshooting the editor's behavior.
InfoProvides informative messages that are of general interest to the end user for observing activities performed by the editor.
WarnIndicates potentially problematic situations that could cause unexpected behaviors or errors.
ErrorDesignates error events that interrupted the editor in executing an operation as intended.
OffNothing is logged.
Last Updated: 4/10/26, 10:47 AM
Contributors: Greg Lambert, lauren-li, Peter Haumer, shikunli, Lauren Li, Min Huang, Kimberlee Maselli, phaumer, Prasang-A-Prajapati, Chun Hong Zheng, BETTY CHEN, Esther M, Benjamin Santos
Prev
Known issues and limitations
Next
Troubleshooting for User Build