Skip to content

feat(expert): allow setting file log level via configuration#563

Merged
doorgan merged 2 commits intoelixir-lang:mainfrom
katafrakt:file-logging-level
Apr 10, 2026
Merged

feat(expert): allow setting file log level via configuration#563
doorgan merged 2 commits intoelixir-lang:mainfrom
katafrakt:file-logging-level

Conversation

@katafrakt
Copy link
Copy Markdown
Contributor

This is separated from LSP logging configuration. It defines the log level for expert.log file via workspace configuration under key fileLogLevel. It only affects expert.log in this PR. project.log is handled by Engine, so it can be done as a followup (at the same time, the default level for project.log is info, not debug, so it's not so dire as expert.log in terms of growing file size.

Sending explicit null as fileLogLevel resets it to default value (debug).

Addresses #541

This is separated from LSP logging configuration. It defines the log
level for expert.log file via workspace configuration.
Copy link
Copy Markdown
Collaborator

@doorgan doorgan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@katafrakt
Copy link
Copy Markdown
Contributor Author

Right. Updated.

@doorgan doorgan merged commit eeb6628 into elixir-lang:main Apr 10, 2026
37 checks passed
doorgan pushed a commit to expert-lsp/vscode-expert that referenced this pull request Apr 10, 2026
A companion to elixir-lang/expert#563 - allows
setting `fileLogLevel` setting, which affects what is logged into
`expert.log`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants