Commit Graph

4 Commits

Author SHA1 Message Date
Fatih Arslan 0090c063e8 log: support for user defined log levels
This PR brings support for better log level handling. Terraform logs
are already written in the form which can be understood by the module
https://github.com/hashicorp/logutils .

The TF_LOG environment variable now accepts a log level. Users can pass
levels in the form of "info", "Info" or "INFO" If an invalid log level is
passed, we print a warning but still continue, for backward compatibility
with the old TF_LOG=1 style.
2015-10-11 10:29:00 -07:00
Mitchell Hashimoto 36f225dea0 fmt 2014-10-10 14:50:35 -07:00
Spencer Krum 60e6fb8fad Improve comments in log.go
Provide some hints on what to do with the environment
variables listed in log.go
2014-09-30 22:33:59 -07:00
Mitchell Hashimoto 7b64c2597b Setup panicwrap 2014-05-30 16:07:26 -07:00