• Mark Peek's avatar
    Add ability to send log output to a file · 1c062aee
    Mark Peek authored
    Using PACKER_LOG=1 causes all the log output to be sent to Stderr. This
    change maintains that backward compatility. Anything other than "1" will
    be treated as a filename which will have logging appended to that file.
    This is useful, for example, to always have debugging available without
    cluttering up stdout (and without having to redirect stderr all the time).
    1c062aee
packer.go 3.48 KB