diff --git a/Script/cs/StorageBackends/eosstorage.py b/Script/cs/StorageBackends/eosstorage.py
index 33f4b172b5b00fc77084cd65c1fe34d74cc435f6..95741309f97f434375339186b08cb7197b8b7747 100644
--- a/Script/cs/StorageBackends/eosstorage.py
+++ b/Script/cs/StorageBackends/eosstorage.py
@@ -72,13 +72,14 @@ def sizechecksum(filename, stager, logger=None):
 
 
 def remove(dstfile, stager, logger=None):
-    xrdfs = subprocess.Popen(['xrdfs',stager,'rm',dstfile], stdout=subprocess.PIPE,
-                stderr=subprocess.STDOUT)
+    cmd = ['xrdfs', stager, 'rm', dstfile]
+    xrdfs = subprocess.Popen(cmd, stdout=subprocess.PIPE,
+            stderr=subprocess.STDOUT)
     ret = xrdfs.wait()
 
     if ret != 0 and logger is not None:
-        logger.warning('error removing %s, output: %s', dstfile,
-                xrdfs.stdout.read().decode())
+        logger.warning('error removing %s, cmd: %s, output: %s', dstfile,
+                str(cmd), xrdfs.stdout.read().decode())
 
     return ret
 
@@ -101,6 +102,7 @@ def backgroundcopy(srcfile, dstfile, stager, logger=None):
     if 'XRD_STREAMTIMEOUT' in config_dict:
         modified_env['XRD_STREAMTIMEOUT'] = str(config_dict['XRD_STREAMTIMEOUT'])
 
+    logger.debug("starting background copy, cmd: %s", str(cmd))
     xrdcp = subprocess.Popen(cmd, stdout=subprocess.PIPE,
                              stderr=subprocess.STDOUT, env=modified_env)