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

[RDY] Always enable logging #6827

Merged
merged 10 commits into from Jun 7, 2017
Merged

[RDY] Always enable logging #6827

merged 10 commits into from Jun 7, 2017

Commits on Jun 6, 2017

  1. log: log_uv_handles

    justinmk committed Jun 6, 2017
    Copy the full SHA
    f83d733 View commit details
    Browse the repository at this point in the history
  2. loop_close: Avoid infinite loop, and log it.

    Avoids a hang, and also helps diagnose issues like:
    
    neovim#6594 (comment)
    justinmk committed Jun 6, 2017
    Copy the full SHA
    698ec9e View commit details
    Browse the repository at this point in the history
  3. log: Always enable; remove DISABLE_LOG

    - Establish ERROR log level as "critical". Such errors are rare and will
      be valuable when users encounter unusual circumstances.
    - Set -DMIN_LOG_LEVEL=3 for release-type builds
    justinmk committed Jun 6, 2017
    Copy the full SHA
    fe1af9c View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    eb6dd3e View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    05cdbbc View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    bb96b82 View commit details
    Browse the repository at this point in the history
  7. test: Set $NVIM_LOG_FILE to test-local path

    - Do not delete it: may need to inspect it after tests finished.
    - Avoids writing to stderr in cases where the test-local $XDG_DATA_HOME
      was not created yet.
    justinmk committed Jun 6, 2017
    Copy the full SHA
    a49c92f View commit details
    Browse the repository at this point in the history
  8. log: Fall back to CWD-relative .nvimlog

    If if the resolved $NVIM_LOG_FILE *and* stdpath("data")/log cannot be
    created (e.g. because the XDG data directory does not exist), fall back
    to .nvimlog in the current direcrtory.
    justinmk committed Jun 6, 2017
    Copy the full SHA
    d07661b View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    b4b09af View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    bc025ab View commit details
    Browse the repository at this point in the history