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

Output from installer should go to verbose log #940

Closed
ferventcoder opened this issue Sep 1, 2016 · 0 comments
Closed

Output from installer should go to verbose log #940

ferventcoder opened this issue Sep 1, 2016 · 0 comments

Comments

@ferventcoder
Copy link
Member

Right now, stdout and stderr are redirected from an installer. stderr is correctly using Write-Error, but stdout is redirected to Write-Host. For some installers that put out a lot of output, this could be a bit overwhelming. Instead we should write it to the Verbose log instead.

An example is the netbeans installer
cc @ComFreek

@ferventcoder ferventcoder added this to the 0.10.1 milestone Sep 1, 2016
@ferventcoder ferventcoder self-assigned this Sep 1, 2016
ferventcoder added a commit to ferventcoder/choco that referenced this issue Sep 1, 2016
Previously, stdout from an installer was redirected to Write-Host. For
some installers, this can cause an overwhelming amount of information
to be written to the console. Instead write that output to the Verbose
log.
ferventcoder added a commit that referenced this issue Sep 1, 2016
* stable:
  (maint) formatting
  (maint) download would come next to new
  (doc) Provide SHA256 recommendation
  (GH-941) Alias `$url64` with Get-ChocolateyWebFile
  (GH-941) Get-ChocolateyUnzip aliases File for parity
  (GH-940) Log Native  Installer Output to Verbose
  (maint) Template - add checksumtypes / set sha256
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants