v0.68.15
Updated CLI args, config attributes and blocks
--terragrunt-log-format [ bare | pretty | json | key-value ]
--terragrunt-log-custom-format "%time %level %prefix %msg"
Feature Description
Using the --terragrunt-log-custom-format <format>
flag you can customize the Terragrunt logs. Make sure to read Custom Log Format for syntax details.
Examples
--terragrunt-log-format bare
--terragrunt-log-format key-value
--terragrunt-log-format json
--terragrunt-log-format pretty
--terragrunt-log-custom-format "%level(format=tiny,case=upper,color=preset) %interval %prefix(path=short-relative,color=gradient,suffix=' ')%msg(path=relative)"
"%time(format='H:m:s',color=yellow) %level(format=short,case=upper,color=preset) %prefix(color=gradient,suffix=' ',align=right)%msg(path=relative)"
--terragrunt-log-custom-format "%(content='time=',color=magenta)%time %(content='level=',color=light-blue)%level %(content='msg=',color=green)%msg"
What's Changed
- feat: Custom Log Formatting by @levkohimins in #3537
Full Changelog: v0.68.14...v0.68.15