- rd client: add datetime ts in logging, previously only time is added in log
- rd-api: fix a log msg in processNewFileAsyncMaybe
- fix: update cliVersion to 1.1.2.0
logl :: ToLogStr a => RDRuntimeConfig -> a -> IO ()
I can implement log level here myself.
logl rc $
try convert from fast-logger to tinylog.
api/Main.hs
src/App.hs
src/DB.hs
src/Utils.hs drop logl definition.
src/Worker.hs
- problems
- rd client has log level. api doesn't have log level.
I need to add log level to api.
fillSha1sum: redis hgetall "/home/sylecn/d/t2/wheelhouse/cryptography-3.4.7-cp36-abi3-manylinux2014_x86_64.whl_2097152" ok
redis hset "/home/sylecn/d/t2/wheelhouse/cryptography-3.4.7-cp36-abi3-manylinux2014_x86_64.whl_2097152" 0 ok
set file status to "done" for "/home/sylecn/d/t2/wheelhouse/cryptography-3.4.7-cp36-abi3-manylinux2014_x86_64.whl"
these should be debug log.
- DONE 12/Mar/2022:23:01:15 +0800 "/home/sylecn/d/t2/wheelhouse/cryptography-3.4.7-cp36-abi3-manylinux2014_x86_64.whl_2097152_status" is not a new file
use file name, not xxx_xxx_status.
I have FillBlockParam fbp, how to get filepath?
fbpFilepath fbp
-
** 2021-10-07 When combine blocks to final file, do not use more disk space than original file size.