diff --git a/LTA/LTAIngest/LTAIngestCommon/srm.py b/LTA/LTAIngest/LTAIngestCommon/srm.py
index 9e580206740be50c567beaf5d87f604c41176ee8..b02eb185db3863da32ef6452300fd0abbe43fc6a 100755
--- a/LTA/LTAIngest/LTAIngestCommon/srm.py
+++ b/LTA/LTAIngest/LTAIngestCommon/srm.py
@@ -124,7 +124,7 @@ def __execute(cmd, log_prefix='', timeout=-1):
     stdout, stderr = communicate_returning_strings(p_cmd)
 
     if p_cmd.returncode != 0:
-        logger.error('%s: %s', log_prefix, stderr)
+        logger.error('%s: cmd=%s stdout=%s stderr=%s', log_prefix, ' '.join(cmd), stdout, stderr)
 
     return stdout, stderr, p_cmd.returncode