Skip to content

Conversation

@Ty3uK
Copy link

@Ty3uK Ty3uK commented Sep 5, 2023

Hi!

After spending some time trying to find cause of my local problem with connection to db I found that by default sql-language-server writing log file to very specific location on macOS:

> require("os").tmpdir()
'/var/folders/t6/7glf20r966z2wq4vzvcv2hpr0000gn/T'

Btw I use neovim (meme), so first thing that I tried was calling :LspLog to check what's happened. My log was empty so I decided to check how sql-language-server do logging and finally found cause of my error.

But maybe we can fully switch from logging to temp file to logging with LSP capabilities?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant