Access.log rotation

Request:
I wanted to confirm if /var/log/pulpcore-content/access.log is rotated automatically or should I setup logrotate task, If so, what postscript needs to be run after rotation? What other logs may I need to rotate?

Pulpcore version:
“core”: “3.48.0”

Pulp plugins installed and their versions:
“versions”: {
“rpm”: “3.25.1”,
“core”: “3.48.0”,
“file”: “3.48.0”,
“certguard”: “3.48.0”
},
Operating system - distribution and version:
RHEL 9

I know maybe answer is obvious for anyone, creating logrotate config as for any webserver, but for me is not that obvious since I tried with -HUP signal and all child content workers were restarted (causing some errors), recently found out that since this uses gunicorn maybe USR1 signal is more appropriate, I tested and it seems to be working but I need to confirm with someone to be able to port this change to production. Sorry for posting this basic question. Any confirmation would be really appreciated.

1 Like