Commit Graph

11 Commits (update_version)

Author SHA1 Message Date
Lucas Bajolet 805015c360 log: simplify the logOutput function
2 years ago
hashicorp-copywrite[bot] 19055df3ec
[COMPLIANCE] License changes (#12568)
3 years ago
hashicorp-copywrite[bot] b7df3ca36f
[COMPLIANCE] Add Copyright and License Headers (#12254)
3 years ago
Megan Marsh 60cf4f6014 log errors in scanner and manually close logging pipe if we hit an error in the scanner
6 years ago
Megan Marsh 88530a7944 if someone logs a line longer than 65*1024 bytes before it contains a newline, the default ScanLines func in bufio.Scanner can't handle it. Copy that func and add a conditional to clear buffer and continue scanning in this situation.
6 years ago
Megan Marsh 9912e569e1 deduplicate loglines that stream both to ui ERROR call and to streaming logs when PACKER_LOG=1
7 years ago
Jake Champlin 849914b756 Use Sprint() instead of Sprintf() in log dedupe
7 years ago
Megan Marsh 941d2fcca6 deduplicate logs that stream to terminal
8 years ago
Sander van Harmelen 1fbadb4de9 Fix debug logging
10 years ago
Bartosz "mastier" Woronicz dac049d4f3 disable log also for PACKER_LOG=0
10 years ago
Mitchell Hashimoto 8054e66db6 command: move more to this package, remove old packages
11 years ago