mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Set loglevel for cmds with a lot of output to TRACE
This commit is contained in:
parent
3542a42812
commit
b06ac8d401
@ -550,7 +550,7 @@ def install(name=None, refresh=False, pkgs=None, saltenv='base', **kwargs):
|
||||
cached_pkg=cached_pkg,
|
||||
install_flags=install_flags
|
||||
)
|
||||
__salt__['cmd.run'](cmd, output_loglevel='debug')
|
||||
__salt__['cmd.run'](cmd, output_loglevel='trace')
|
||||
|
||||
__context__.pop('pkg.list_pkgs', None)
|
||||
new = list_pkgs()
|
||||
@ -646,7 +646,7 @@ def remove(name=None, pkgs=None, version=None, extra_uninstall_flags=None, **kwa
|
||||
cached_pkg)) + '"' + str(pkginfo[version].get('uninstall_flags', '') + " " + (extra_uninstall_flags or ''))
|
||||
if pkginfo[version].get('msiexec'):
|
||||
cmd = 'msiexec /x ' + cmd
|
||||
__salt__['cmd.run'](cmd, output_loglevel='debug')
|
||||
__salt__['cmd.run'](cmd, output_loglevel='trace')
|
||||
|
||||
__context__.pop('pkg.list_pkgs', None)
|
||||
new = list_pkgs()
|
||||
|
Loading…
Reference in New Issue
Block a user