New in version 2017.7.0.
The sole purpose of this module is logging messages in the (proxy) minion. It comes very handy when debugging complex Jinja templates, for example:
{%- for var in range(10) %}
{%- do salt["log.info"](var) -%}
{%- endfor %}
CLI Example:
salt '*' log.error "Please don't do that, this module is not for CLI use!"
Log message at level CRITICAL.
Log message at level DEBUG.
Log message at level ERROR.
Log message at level EXCEPTION.
Log message at level INFO.
Log message at level WARNING.
Generated on October 23, 2024 at 09:02:05 UTC.
You are viewing docs for the previous stable release, 3006.9. Switch to docs for the latest stable release, 3007.1, or to a recent doc build from the master branch.
© 2024 VMware, Inc. | Privacy Policy