Closed Micdu70 closed 2 years ago
This "issue" still exists with the latest commit (6f96814b14d148a1ad31d174b0a2c255d05ffec3).
Explanation => Each time 'test' command is used via XMLRPC, the "error" log* will be created/appended with this content:
[31.01.22 08:01:15] <?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>execute2</methodName><params>
<param><value><string></string></value></param>
<param><value><string>test</string></value></param>
<param><value><string>-e</string></value></param>
<param><value><string>/home/user/folder/filename</string></value></param>
</params></methodCall>
[31.01.22 08:01:15] Status: 200 OK
Content-Type: text/xml
Content-Length: 296
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<fault>
<value><struct>
<member><name>faultCode</name>
<value><i4>-503</i4></value></member>
<member><name>faultString</name>
<value><string>Bad return code.</string></value></member>
</struct></value>
</fault>
</methodResponse>
_* if the "$logfile" variable is set in the ruTorrent's config file
Avoid
Bad return code.
returned from 'test' command (via XMLRPC).