0

Could you please assist how to organize the following files by using logrotate ?

for example: few logs and directories with different names:

httpd.log mysql.log access.log

httpd mysql access

I am trying to rotate each file to compatible directory: mysql.log to mysql and etc. and using "copytruncate"

thanks!

New contributor
night90 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

put on hold as unclear what you're asking by bertieb, jonsca, karel, Mike Fitzpatrick, music2myear Apr 18 at 18:25

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.