How do disable logging

Asked by densone

I am trying to figure out how to slow down or disable update.log. It filled about 40GB of space on my server.

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Nicholas Leskiw (nleskiw) said :
#1

In what directory did you find that logfile? I'm not seeing that one get created in my install, and a quick grep on the source didn't find a reference to it.

-Nick

On Apr 20, 2010, at 12:45 PM, densone wrote:

> New question #107948 on Graphite:
> https://answers.launchpad.net/graphite/+question/107948
>
> I am trying to figure out how to slow down or disable update.log. It filled about 40GB of space on my server.
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp

Revision history for this message
densone (sean-densone) said :
#2

log/carbon-cache

graphite-0.9.5

-rw-r--r-- 1 apache apache 68K Apr 20 11:36 listener.log
-rw-r--r-- 1 apache apache 210K Apr 20 11:39 query.log
-rw-r--r-- 1 apache apache 73M Apr 20 11:39 updates.log
-rw-r--r-- 1 apache apache 1.2M Apr 20 11:39 console.log

Revision history for this message
Allan Bailey (zirpu) said :
#3

comment it out in carbon/writer.py then restart carbon.

-allan

On Tue, Apr 20, 2010 at 11:39 AM, densone <
<email address hidden>> wrote:

> Question #107948 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/107948
>
> Status: Answered => Open
>
> densone is still having a problem:
> log/carbon-cache
>
> graphite-0.9.5
>
> -rw-r--r-- 1 apache apache 68K Apr 20 11:36 listener.log
> -rw-r--r-- 1 apache apache 210K Apr 20 11:39 query.log
> -rw-r--r-- 1 apache apache 73M Apr 20 11:39 updates.log
> -rw-r--r-- 1 apache apache 1.2M Apr 20 11:39 console.log
>
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Nicholas Leskiw (nleskiw) said :
#4

Ok, it's only getting created when carbon-cache.py is running. That's why I didn't see it before.

A quick fix would be to stop carbon-cache.py, ln -s /dev/null updates.log, and start it back up.
There may be a better way.

-Nick

On Apr 20, 2010, at 1:39 PM, densone wrote:

> Question #107948 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/107948
>
> Status: Answered => Open
>
> densone is still having a problem:
> log/carbon-cache
>
> graphite-0.9.5
>
> -rw-r--r-- 1 apache apache 68K Apr 20 11:36 listener.log
> -rw-r--r-- 1 apache apache 210K Apr 20 11:39 query.log
> -rw-r--r-- 1 apache apache 73M Apr 20 11:39 updates.log
> -rw-r--r-- 1 apache apache 1.2M Apr 20 11:39 console.log
>
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp

Can you help with this problem?

Provide an answer of your own, or ask densone for more information if necessary.

To post a message you must log in.