Commit Graph

7 Commits

Author SHA1 Message Date
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. 2019-11-08 12:34:36 -08:00
Megan Marsh 9912e569e1 deduplicate loglines that stream both to ui ERROR call and to streaming logs when PACKER_LOG=1 2019-07-25 16:33:02 -07:00
Jake Champlin 849914b756 Use Sprint() instead of Sprintf() in log dedupe
Uses `fmt.Sprint()` instead of `fmt.Sprintf()` for log deduplication.

Fixes: #6796
2018-10-09 22:43:54 -04:00
Megan Marsh 941d2fcca6 deduplicate logs that stream to terminal 2018-08-21 15:24:17 -07:00
Sander van Harmelen 1fbadb4de9 Fix debug logging
The change done in #3964 causes the if statement to check if debug logging should be enabled to always pass.
2016-10-07 21:10:20 +02:00
Bartosz "mastier" Woronicz dac049d4f3 disable log also for PACKER_LOG=0 2016-10-05 16:43:12 +02:00
Mitchell Hashimoto 8054e66db6 command: move more to this package, remove old packages 2014-10-27 20:31:02 -07:00