dr34m-cn / taosync

TaoSync是一个适用于AList V3的自动化同步工具/sync for alist
GNU Affero General Public License v3.0
221 stars 17 forks source link

Can not find any timezone configuration, defaulting to UTC. #5

Closed at86397388 closed 3 months ago

at86397388 commented 3 months ago

tzlocal/unix.py:193: UserWarning: Can not find any timezone configuration, defaulting to UTC.

请问这个是啥错误啊?怎么解决啊

dr34m-cn commented 3 months ago

时区没有设定使用了默认时区UTC,如果没有使用cron方式的定时任务的话,通常你不需要关注,因为不会影响程序的正常运行

如果确实需要,可以添加环境变量来指定时区,例如在国内一般是

TZ=Asia/Shanghai

at86397388 commented 3 months ago

请问生成alist日志的作用是啥,可以禁止生成么?

发自我的iPhone

------------------ Original ------------------ From: notifications @.> Date: Tue,Aug 13,2024 10:49 AM To: dr34-m/taosync @.> Cc: at86397388 @.>, Author @.> Subject: Re: [dr34-m/taosync] Can not find any timezone configuration,defaulting to UTC. (Issue #5)

时区没有设定使用了默认时区UTC,如果没有使用cron方式的定时任务的话,通常你不需要关注,因为不会影响程序的正常运行

如果确实需要,可以添加环境变量来指定时区,例如在国内一般是

TZ=Asia/Shanghai

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

dr34m-cn commented 3 months ago

可以看下日志文件的名称和目录吗?

at86397388 commented 3 months ago

主要是alist/log/下的,用了taosync以后日志特别多,且文件大

发自我的iPhone

------------------ Original ------------------ From: notifications @.> Date: Wed,Aug 14,2024 1:43 PM To: dr34-m/taosync @.> Cc: at86397388 @.>, Author @.> Subject: Re: [dr34-m/taosync] Can not find any timezone configuration,defaulting to UTC. (Issue #5)

可以看下日志文件的名称和目录吗?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

dr34m-cn commented 3 months ago

可以参考alist官方文档关闭日志

log