Feature Request: Supporting repo-level log level configuration via atlantis.yaml
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
- [x] I'd be willing to implement this feature (contributing guide)
Describe the user story Currently, Atlantis log levels can only be configured globally using the --log-level flag at server startup. In multi-project or multi-repo setups, it would be nice to support repo- or project-level control over log verbosity — for instance, enabling debug logs for a specific project while keeping the default info level for others.
Describe the solution you'd like Introduce support for setting the log level via the atlantis.yaml configuration file, scoped to a project. For example:
version: 3
projects:
- name: default
dir: default
log_level: debug
Describe the drawbacks of your solution Not sure how feasible the implementation would be.
Describe alternatives you've considered Passing & Setting TF_LOG in custom workflows could be a viable workaround, but it's not applicable in environments where custom workflows are disabled at server side atlantis config.