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

Event log file is overwritten on ProxySQL service restart #1201

Closed
pondix opened this issue Oct 9, 2017 · 1 comment
Closed

Event log file is overwritten on ProxySQL service restart #1201

pondix opened this issue Oct 9, 2017 · 1 comment

Comments

@pondix
Copy link
Contributor

pondix commented Oct 9, 2017

Output should be appended to the existing events log file or the file should be rotated on restart:

$ ls -l
total 284
-rw------- 1 root root    104 Oct  9 16:42 events.log.00000001
-rw------- 1 root root 106496 Oct  9 16:36 proxysql.db
-rw------- 1 root root 106496 Oct  9 16:24 proxysql.db.bak
-rw------- 1 root root  64943 Oct  9 16:43 proxysql.log
-rw-r--r-- 1 root root      5 Oct  9 16:39 proxysql.pid
$ sudo service proxysql restart
$ ls -l
total 284
-rw------- 1 root root      0 Oct  9 16:43 events.log.00000001
-rw------- 1 root root 106496 Oct  9 16:36 proxysql.db
-rw------- 1 root root 106496 Oct  9 16:24 proxysql.db.bak
-rw------- 1 root root  67027 Oct  9 16:43 proxysql.log
-rw-r--r-- 1 root root      5 Oct  9 16:43 proxysql.pid
@renecannao
Copy link
Contributor

Fixed. Thank you @pondix !

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