Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rotate logs #1066

Closed
mohsenSy opened this issue Jun 21, 2017 · 2 comments
Closed

rotate logs #1066

mohsenSy opened this issue Jun 21, 2017 · 2 comments

Comments

@mohsenSy
Copy link

Now proxysql log is stored in a single file which grows for ever, it is better to rotate this log file for example once a week.

If we these lines to a file inside /etc/logrotate.d/ log file will be rotated once a week.

   /var/lib/proxysql/proxysql.log {
       weekly
       compress
       rotate 4
   }

I need the tool used to build the debian installation file to add this new file to the package.

@mohsenSy
Copy link
Author

@renecannao What do you think?

@renecannao
Copy link
Contributor

Hi @mohsenSy .
Please refer to #1049 : this feature is now available in 1.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants