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

(v6.x backport) process: add --redirect-warnings command line argument #14418

Merged

Commits on Jul 24, 2017

  1. process: add --redirect-warnings command line argument

    The --redirect-warnings command line argument allows process warnings
    to be written to a specified file rather than printed to stderr.
    
    Also adds an equivalent NODE_REDIRECT_WARNINGS environment variable.
    
    If the specified file cannot be opened or written to for any reason,
    the argument is ignored and the warning is printed to stderr.
    
    If the file already exists, it will be appended to.
    
    PR-URL: nodejs#10116
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Michal Zasso <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    jasnell authored and sam-github committed Jul 24, 2017
    Configuration menu
    Copy the full SHA
    a879dc8 View commit details
    Browse the repository at this point in the history