Skip to content

How to enable debug logging for salt master minion

bmemmott71 edited this page Apr 11, 2019 · 3 revisions

How to enable debug logging for salt master/minion

On Salt Master
vi /etc/salt/master
search for "log_level: warning"
change to: log_level: debug
save
systemctl stop salt-master.service
systemctl start salt-master.service
systemctl status salt-master.service
On Salt Minion:
vi /etc/salt/minion
search for "log_level: warning"
change to: log_level: debug
save
systemctl stop salt-minion.service
systemctl start salt-minion.service
systemctl status salt-minion.service
Note: Don't forget to put the log level back to "warning" when done.