Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add log4js adapter for logging to lsp.log #225

Open
wants to merge 1 commit into
base: release
Choose a base branch
from

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