github cloudposse/atmos v1.33.0

latest releases: v1.101.0, v1, v1.100.1...
19 months ago

what

why

  • Allow specifying a file for Atmos to write logs to
  • Allow specifying a log level to control the amount of Atmos logging

Logs

Atmos logs are configured in the logs section:

logs:
  file: "/dev/stdout"
  # Supported log levels: Trace, Debug, Info, Warning, Off (Off is the default and is used if logs.level is not set)
  level: Info
  • logs.file - the file to write Atmos logs to. Logs can be written to any file or any standard file descriptor, including /dev/stdout, /dev/stderr and /dev/null). If omitted, /dev/stdout will be used. The ENV variable ATMOS_LOGS_FILE can also be used to specify the log file

  • logs.level - Log level. Supported log levels are Off, Trace, Info. If the log level is set to Off, Atmos will not log any messages (note that this does not prevent other tools like Terraform from logging). The ENV variable ATMOS_LOGS_LEVEL can also be used to specify the log level

To prevent Atmos from logging any messages, you can do one of the following:

  • Set logs.file or the ENV variable ATMOS_LOGS_FILE to /dev/null

  • Set logs.level or the ENV variable ATMOS_LOGS_LEVEL to Off

Don't miss a new atmos release

NewReleases is sending notifications on new releases.