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

carbon LOGROTATION doesnt adds up well with logrotate #93

Open
pabx06 opened this issue Nov 15, 2017 · 1 comment
Open

carbon LOGROTATION doesnt adds up well with logrotate #93

pabx06 opened this issue Nov 15, 2017 · 1 comment

Comments

@pabx06
Copy link

pabx06 commented Nov 15, 2017

i always ends en with tons of logs 4-8GB of logs that is higher than my whisper database.

since carbon do move logs file from file.log to file.log.YYYY_MM_DD
logrotate does too from file.log to file.log.X=[1-10]

`-rwxr-xr-x 1 _graphite _graphite 199M nov. 15 11:48 listener.log
-rwxr-xr-x 1 _graphite _graphite 853M nov. 15 02:49 listener.log.1
-rwxr-xr-x 1 _graphite _graphite 271M nov. 10 23:59 listener.log.2017_11_10

`

@pabx06
Copy link
Author

pabx06 commented Nov 15, 2017

root@graphite:/var/log/carbon#

ls -lha
total 1,9G
drwxr-xr-x 2 _graphite _graphite 4,0K nov. 15 03:27 .
drwxrwxr-x 19 root syslog 4,0K nov. 15 07:36 ..
-rwxr-xr-x 1 root root 46K nov. 15 12:14 console.log
-rwxr-xr-x 1 root root 723K nov. 15 02:49 console.log.1
-rwxr-xr-x 1 _graphite _graphite 5,7K nov. 15 02:51 creates.log
-rwxr-xr-x 1 _graphite _graphite 209M nov. 15 12:14 listener.log
-rwxr-xr-x 1 _graphite _graphite 853M nov. 15 02:49 listener.log.1
-rwxr-xr-x 1 _graphite _graphite 271M nov. 10 23:59 listener.log.2017_11_10
-rwxr-xr-x 1 _graphite _graphite 250M nov. 11 23:59 listener.log.2017_11_11
-rwxr-xr-x 1 _graphite _graphite 99M nov. 8 23:59 listener.log.2017_11_8
-rwxr-xr-x 1 _graphite _graphite 259M nov. 9 23:59 listener.log.2017_11_9
-rwxr-xr-x 1 _graphite _graphite 2,5K nov. 15 11:32 query.log
-rwxr-xr-x 1 _graphite _graphite 11K nov. 15 02:49 query.log.1
-rwxr-xr-x 1 _graphite _graphite 4,7K nov. 10 22:53 query.log.2017_11_10
-rwxr-xr-x 1 _graphite _graphite 1,8K nov. 11 19:18 query.log.2017_11_11
-rwxr-xr-x 1 _graphite _graphite 23K nov. 8 23:56 query.log.2017_11_8
-rwxr-xr-x 1 _graphite _graphite 2,9K nov. 9 21:51 query.log.2017_11_9

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

1 participant