Skip to content

[Dev] Logs not fully working #2878

@orpuente-MS

Description

@orpuente-MS

Describe the bug

Logs made from the wasm layer or from Typescript don't show up. Logs made from rust code only show up if they are logged as info or error, logging as debug does not work.

To Reproduce

Steps to reproduce the behavior:

  1. Set the log level to trace
  2. Run a notebook with a qsharp.init() call. You should see a log with the metadata of the notebook, which logged from source\vscode\src\language-service\notebook.ts::getQSharpConfigMetadata
  3. The log doesn't appear in the VS-Code Output tab, under the Q# section

You can also try adding a log::debug in rust, or any log in the wasm layer, and it won't show up.

Expected behavior

All logs should show if the log level is set to the appropriate level.

System information

  • Version of the package or extension for which the problem occurs: 1.24.3-dev
  • Your operating system: Windows
  • For issues with extensions, the version of the IDE for which the problem occurs: VS-Code 1.108.1

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions