DDNS icon indicating copy to clipboard operation
DDNS copied to clipboard

[feature] 为 run.log 加上时间戳

Open fdxx opened this issue 3 years ago • 2 comments

example:

. . . . . . . . . . . . 
L 2022-07-04 - 13:23:55: exp.com(A) ==> x.x.x.x [via DIRECT]

fdxx avatar Jul 13 '22 09:07 fdxx

实现似乎不难,https://docs.python.org/3/howto/logging.html#displaying-the-date-time-in-messages 不知道是否有广泛需求

NewFuture avatar Jul 13 '22 11:07 NewFuture

顶下,log 内增加。必需求

liker5092 avatar Jul 17 '22 06:07 liker5092

顶下,建议每执行一次就记录一次带时间戳的log。log文件膨胀到一定的阈值自动清理。

aimai-who avatar Nov 24 '22 15:11 aimai-who

可以考虑加一个logger datefmt 的配置

NewFuture avatar Nov 24 '22 15:11 NewFuture

上述功能已于 #372 实现完毕。

laozhoubuluo avatar Dec 01 '22 08:12 laozhoubuluo