Truncating by default to 128 frequently trims useful debug
information. Set the default to 1024: the intent is to avoid huge logs
when a json output is repeatedly returning large (>10k) payloads.
Signed-off-by: Loic Dachary <loic@dachary.org>
return searchval == val
-def sh(command, log_limit=128):
+def sh(command, log_limit=1024):
"""
Run the shell command and return the output in ascii (stderr and
stdout). If the command fails, raise an exception. The command