-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Labels
Description
I set NVIM_NODE_LOG_FILE="$HOME/nvim_node_log"
and I see logging from the node client but not from any of the log statements in my plugin.
Example logs I'm seeing:
{"level":"debug","message":"getPlugin.alwaysInit"}
{"level":"debug","message":"request -> neovim.api.nvim_out_write"}
{"level":"debug","message":"response -> neovim.api.nvim_out_write: null"}
{"level":"debug","message":"host.disconnected"}
{"level":"debug","message":"host.start"}
{"level":"info","message":"handleRequest: "}
{"level":"debug","message":"request received: "}
{"level":"info","message":"handleRequest: "}
{"level":"debug","message":"host.start"}
I would expect to see the log statements defined in the plugin as well. To reproduce just check if the logs are working in the example bundled with this repo: https://github.com/neovim/node-client/tree/master/examples/rplugin/node/nvim-example
I'm also not sure if ALLOW_CONSOLE
has anything to do with this but whenever I set it to 1
for instance but that doesn't seem to do anything either.