mirror of
https://github.com/KevinMidboe/transatlanticTorrentExpress.git
synced 2025-10-29 18:00:19 +00:00
Improved log levels for subprocess calls.
This commit is contained in:
@@ -61,7 +61,7 @@ def transferFiles(files, localPath, remotePath, host=None, user=None):
|
||||
stdout, stderr = rsyncProcess.communicate()
|
||||
|
||||
if stderr:
|
||||
logger.error('Error when rsyncing', stderr)
|
||||
logger.error('Rsync error:', stderr)
|
||||
|
||||
print(stdout)
|
||||
transferedFiles.append(file)
|
||||
@@ -80,7 +80,7 @@ def removeFromDeluge(execScript, files):
|
||||
stdout, stderr = delugeProcess.communicate()
|
||||
|
||||
if stderr:
|
||||
print('Deluge unable', stderr)
|
||||
logger.error('Deluge error:', stderr)
|
||||
|
||||
logger.info('Successfully removed: ', file)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user