8000 扫描对比中 增加日志输出 · Issue #19 · dr34m-cn/taosync · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

扫描对比中 增加日志输出 #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
konglquan opened this issue Sep 27, 2024 · 3 comments
Open

扫描对比中 增加日志输出 #19

konglquan opened this issue Sep 27, 2024 · 3 comments

Comments

@konglquan
Copy link

扫描的时候可以增加日志输出吗?
比如正在扫描那个那个目录...

刚才扫了40分钟直接返回了说alist 502,这样我还要重新执行任务,然后还担心失败的问题

或者502后可不可以类似断点续传一样,记录上次扫描的位置,然后继续执行失败的任务。

@konglquan
Copy link
Author
konglquan commented Sep 27, 2024

2024-09-27 20:24:54,792 ERROR 执行任务失败,原因为:AList返回502错误,原因为:状态码非200
2024-09-27 20:24:54,825 ERROR AList返回502错误,原因为:状态码非200
Traceback (most recent call last):
File "service\syncJob\jobClient.py", line 178, in doJob
File "service\syncJob\jobClient.py", line 23, in init
File "service\syncJob\jobClient.py", line 74, in sync
File "service\alist\alistSync.py", line 117, in sync
File "service\alist\alistClient.py", line 186, in allFileList
File "service\alist\alistClient.py", line 186, in allFileList
File "service\alist\alistClient.py", line 186, in allFileList
File "service\alist\alistClient.py", line 183, in allFileList
File "service\alist\alistClient.py", line 132, in fileListApi
File "service\alist\alistClient.py", line 92, in post
File "service\alist\alistClient.py", line 81, in req
Exception: AList返回502错误,原因为:状态码非200

@dr34m-cn
Copy link
Owner

后续将会加上日志。
但是你也不用太担心这么长的时间都浪费掉了,为了提高效率,其实扫描的过程中同步任务也在进行着,说不定你已经有很多文件同步成功了。
一般来讲你可以不用太关心结果,设置个定时同步每天同步,数次之后通常都会全部成功。

@dr34m-cn
Copy link
Owner

抱歉,刚看了你的日志,感觉可能还没到同步那一步,我们已经意识到了这个问题,将尽快修复或优化该问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0