Skip to content

LSP Startup error: FileNotFoundException: logs\sdl-lsp.log #12

@zzeekk

Description

@zzeekk

When starting LSP i get the following IDE error notification:

11:02:08,864 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Failed to create parent directories for [C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2023.3.0\bin\logs\sdl-lsp.log]
11:02:08,869 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - openFile(logs/sdl-lsp.log,true) call failed. java.io.FileNotFoundException: logs\sdl-lsp.log (Das System kann den angegebenen Pfad nicht finden)
	at java.io.FileNotFoundException: logs\sdl-lsp.log (Das System kann den angegebenen Pfad nicht finden)

Note1: C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2023.3.0\bin\logs directory doesnt exist on my installation, and probably there are no permissions to create it.

Note2: the plugin still works.

Suggestion: could we write sdl-lsp.log to .sdlb/lsp.log instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions