Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Log Size
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Trent Adams  
View profile  
 More options Jan 20 2008, 12:10 am
From: Trent Adams <trent.ad...@gmail.com>
Date: Sat, 19 Jan 2008 21:10:44 -0800 (PST)
Local: Sun, Jan 20 2008 12:10 am
Subject: Log Size
I was just looking in my server admin and noticed that my Habari
install database was getting massive which caught my attention as it
only has 8 posts, 0 comments and 0 spam :)    After looking at the
database, it seems that with just under a 1000 entries in the log, it
was taking up 50 megs of database space!    While the log was primary
with errors from a theme I was using, that is not Habari's fault!

I was thinking that having a limit on the size of the log or a warning
message if it gets up to say "x megs" might be a nice feature.

Thoughts?

Trent


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robin Adrianse  
View profile  
 More options Jan 20 2008, 12:36 am
From: "Robin Adrianse" <robin....@gmail.com>
Date: Sat, 19 Jan 2008 21:36:57 -0800
Local: Sun, Jan 20 2008 12:36 am
Subject: Re: [habari-dev] Log Size

Removing old log entries as new ones get added seems like a good option to
have. I can't say log messages from 2 months ago would be that useful.

On Jan 19, 2008 9:10 PM, Trent Adams <trent.ad...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Merrill  
View profile  
 More options Jan 20 2008, 11:22 am
From: "Scott Merrill" <ski...@skippy.net>
Date: Sun, 20 Jan 2008 11:22:49 -0500
Local: Sun, Jan 20 2008 11:22 am
Subject: Re: [habari-dev] Re: Log Size
On 1/20/08, Robin Adrianse <robin....@gmail.com> wrote:

> Removing old log entries as new ones get added seems like a good option to
> have. I can't say log messages from 2 months ago would be that useful.

We do have a cron system.  It ought not be too hard to construct a
cron job to expire old log entries.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stanley FONG  
View profile  
 More options Jan 21 2008, 2:24 am
From: "Stanley FONG" <sfon...@gmail.com>
Date: Mon, 21 Jan 2008 15:24:52 +0800
Local: Mon, Jan 21 2008 2:24 am
Subject: Re: [habari-dev] Re: Log Size

I would suggest that this is included in the core then user just enter
number of days, in the option page of dashboard, that log should be kept in
the database.

On Jan 21, 2008 12:22 AM, Scott Merrill <ski...@skippy.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robin Adrianse  
View profile  
 More options Jan 21 2008, 2:28 am
From: "Robin Adrianse" <robin....@gmail.com>
Date: Sun, 20 Jan 2008 23:28:31 -0800
Local: Mon, Jan 21 2008 2:28 am
Subject: Re: [habari-dev] Re: Log Size

Yeah, it makes sense to me as a built-in option. After all, logs can quickly
build up.

On Jan 20, 2008 11:24 PM, Stanley FONG <sfon...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Mohn (h0bbel)  
View profile  
 More options Jan 22 2008, 6:10 am
From: "Christian Mohn (h0bbel)" <h0b...@gmail.com>
Date: Tue, 22 Jan 2008 03:10:20 -0800 (PST)
Local: Tues, Jan 22 2008 6:10 am
Subject: Re: Log Size
Yes, they can. Mine is 2.1GB right now.

On Jan 21, 8:28 am, "Robin Adrianse" <robin....@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Trent Adams  
View profile  
 More options Jan 22 2008, 9:46 am
From: Trent Adams <trent.ad...@gmail.com>
Date: Tue, 22 Jan 2008 06:46:19 -0800 (PST)
Local: Tues, Jan 22 2008 9:46 am
Subject: Re: Log Size
I was a little startled with a simple 50 meg log file.    2.1GB....
wow!

On Jan 22, 4:10 am, "Christian Mohn (h0bbel)" <h0b...@gmail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthias Bauer  
View profile  
 More options Jan 22 2008, 10:25 am
From: Matthias Bauer <moef...@moeffju.net>
Date: Tue, 22 Jan 2008 16:25:46 +0100
Local: Tues, Jan 22 2008 10:25 am
Subject: Re: [habari-dev] Re: Log Size

Trent Adams wrote:
> I was a little startled with a simple 50 meg log file.    2.1GB....
> wow!

> On Jan 22, 4:10 am, "Christian Mohn (h0bbel)" <h0b...@gmail.com>
> wrote:
>> Yes, they can. Mine is 2.1GB right now.

The latest SVN revision adds a cronjob to truncate the log file size
every day, keeping only the logs of the last 13 days. This is not
configurable and it's only a short term fix anyway, but I figure it's
better than having a log table exhaust your memory.

Users of the 0.3.3 release might want to TRUNCATE TABLE habari__logs;
OPTIMIZE TABLE habari__logs; for now.

-Matt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Mohn  
View profile  
 More options Jan 22 2008, 3:53 pm
From: "Christian Mohn" <h0b...@gmail.com>
Date: Tue, 22 Jan 2008 21:53:48 +0100
Local: Tues, Jan 22 2008 3:53 pm
Subject: RE: [habari-dev] Re: Log Size
Yeah. I win! ;-)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robin Adrianse  
View profile  
 More options Jan 23 2008, 10:48 am
From: "Robin Adrianse" <robin....@gmail.com>
Date: Wed, 23 Jan 2008 07:48:39 -0800
Local: Wed, Jan 23 2008 10:48 am
Subject: Re: [habari-dev] Re: Log Size

Insane... here I was, thinking about 500 MB at the most... well, I guess
that just proves the point even more ;).

On Jan 22, 2008 3:10 AM, Christian Mohn (h0bbel) <h0b...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »