Sorry if it’s covered somewhere, I didn’t find it…
Is there a recommended setting or something to clean up log files on the docker install? Seems like it just adds another set each day.
For now, not a biggie, but eventually…
Sorry if it’s covered somewhere, I didn’t find it…
Is there a recommended setting or something to clean up log files on the docker install? Seems like it just adds another set each day.
For now, not a biggie, but eventually…
.log
and .log.gz
files in your logs directory (defaults to /ps/logs
on Docker, but can be changed via the PS_LOG_DIR
setting) that are older than a week should be deleted automatically. Are they not?
Edit: ugh, just checked my own older library, and I see older log files too. I’ll look into this.
Yep, when I happened to look, I had stuff back to 2021-07-07 (I suspect when I installed a new docker image for one of the beta tests)
I know this is a really old thread, but was this resolved? I’m using the image photostructure/server:2024.3.3-beta
and I have logs from over a year ago as well as recent logs older than a week.
You can use logrotate if you’d like, but in the next release of PhotoStructure I’ve added a new logfile cleanup cron job that should take care of this.