Re: [Tracker] about the need to remove log file



On Fri, 2008-06-27 at 19:44 +0100, Martyn Russell wrote:
Jamie McCracken wrote:
On Fri, 2008-06-27 at 15:44 +0100, Martyn Russell wrote:
Tshepang Lekhonkhobe wrote:
Hi,
Hi :)

A while ago someone limited the log file to grow to about 10MB. 
On the indexer-split branch we use GLib for logging. There is no limit
as far as I know.


we will need to limit size of log file as it can grow astronomically if
milions of errors occur

If we get into this state, I would say you have bigger problems ;)

I should add, by default we only log errors. You have to manually turn
other levels on. Even with debugging, there isn't much logging generated.


in the past we have had issues like db becoming corrupted which have
resulted in millions of errors filling up the log file so we need some
way to limit size

the original code I think limited number of lines output by maintaining
a count of the number of times log function was called - can we restore
this?

jamie




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]