Open 2fst4u opened 1 year ago
according to this code, logs are send to stdout:
logger.add( sys.stdout, colorize=True, format="[{time:YYYY-MM-DD HH:mm:ss}] - <level>{message}</level>", level=log_level, )
Hmm I guess there could be a way to pipe this to a file but if it natively made a file that would be ideal.
just add another sink to the logger:
logger.add("excludarr.log", colorize=True, format="[{time:YYYY-MM-DD HH:mm:ss}] - <level>{message}</level>", level=log_level, )
More Info here: https://loguru.readthedocs.io/en/stable/overview.html#easier-file-logging-with-rotation-retention-compression
That wouldn't persist in docker.
Hi, sorry for the late reply, I have taken the development of excludarr on a pause for a while. I am aware of several issues in excludarr and I tend to fix it by creating a Web UI. Where users can control excludarr within an web interface. All the present features will be in there including some new features! I have started the development this week, but it will take some time, I hope to release it before christmas :) PS. I am replying with this message on every issue to make everyone aware.
I will intergrate logging in the UI.
Thank you. Will the docker version still exist?
Yes the docker version will still exists.
Wow GitHub spam is a new one for me.
Just a quick general question because I can't see it documented. Are logs outputted to a file in docker and if so, where? In my setup I would like to mount this location somewhere in particular so I can run unattended but in a sort of dry-run mode and check what excludarr intends to delete before turning on deletion.
I run on kubernetes not actually docker so my setup is a bit weird.