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

Packer logging for build.ps1 - Windows Systems #268

Closed
ProtoDroidBot opened this issue May 1, 2019 · 2 comments
Closed

Packer logging for build.ps1 - Windows Systems #268

ProtoDroidBot opened this issue May 1, 2019 · 2 comments

Comments

@ProtoDroidBot
Copy link

  • Operating System Version: Windows 10 Pro x64
  • Provider (VirtualBox/VMWare): VirtualBox
  • Vagrant Version: 2.2.4
  • Packer Version: 1.4.0
  • Are you using stock boxes (downloaded) or were they built from scratch using Packer? Built from Scratch / Building in progress
  • Is the issue reproducible or intermittent? (Should be) Reproducible

When trying to diagnose a few issues with #259, I noticed that the PowerShell build script (build.ps1) does not implement packer logging via $env:PACKER_LOG=1 and $env:PACKER_LOG_PATH=""(from https://www.packer.io/docs/other/debugging.html ). This is causing packer logs to only output via terminal / stdout and not output to packer_build.log as would normally be required to file an issue.

@clong
Copy link
Owner

clong commented May 4, 2019

Thanks for reporting this! Fixed in f7e0765

@clong clong closed this as completed May 4, 2019
@dlee35
Copy link
Contributor

dlee35 commented May 8, 2019

Received error with PACKER_LOG_PATH set to Packer dir ("Couldn't setup log output"). Submitted PR #273.

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

3 participants