Viewing event logs

The KasperskyOS SDK Extension allows you to display the following types of event logs in the integrated terminal of the Visual Studio Code editor:

Viewing the system event log of KasperskyOS

To view the system event log of KasperskyOS:

  1. Click the device selection button in the lower panel of the editor (showing the name of the current emulator) or run the KOS: Select Device command in the command palette.

    A list of available emulators is displayed.

  2. Click the Open system logger journal button in the line corresponding to the relevant emulator.

Viewing the event log of the KasperskyOS emulator

When the KasperskyOS emulator is started from the Visual Studio Code editor, the emulator event log is displayed in the integrated terminal of the editor. If you close the terminal or restart Visual Studio Code after starting the emulator, the log can be displayed in the terminal again.

To view the emulator event log:

  1. Click the device selection button in the lower panel of the editor (showing the name of the current emulator) or run the KOS: Select Device command in the command palette.

    A list of available emulators is displayed.

  2. Click the Open emulator console output button in the line corresponding to the relevant emulator.

The number of available log lines is specified by the extension parameter Show Last Logs Num (500 by default).

Page top