Skip to content

logging: default to log level "error" instead of "debug" #334

Description

@justinmk

Problem

Currently we default to "debug" log level:

const level = process.env.NVIM_NODE_LOG_LEVEL || 'debug';

That seems a bit strange, it requires all consumers to undo that for production. Example:
https://github.com/vscode-neovim/vscode-neovim/blob/7592f1909467907da934e1748b1b7d5904dba67d/webpack.config.js#L50-L53

Expected behavior

Change default log-level. Update docs and possibly provide a warning during a "transitional" period.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    Effort

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions