On Tue, Oct 14, 2008 at 1:05 PM, Martyn Russell <[EMAIL PROTECTED]> wrote:
> Tshepang Lekhonkhobe wrote:
>> Me hopes this issue didn't get lost:
>>
>> On Fri, Jun 27, 2008 at 4:11 PM, Tshepang Lekhonkhobe
>> <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>>
>>> A while ago someone limited the log file to grow to about 10MB. That
>>> to me means it's unnecessary to delete it on every start-up. But why I
>>> care is that I want to be able to have my 'tail -f
>>> ~/.local/share/tracker/trackerd.log' continue giving output without me
>>> re-running it between daemon restarts. Thanks...
>>>
>>>
>>> Index: src/trackerd/tracker-main.c
>>> ===================================================================
>>> --- src/trackerd/tracker-main.c (revision 1800)
>>> +++ src/trackerd/tracker-main.c (working copy)
>>> @@ -438,8 +438,6 @@ initialize_directories (void)
>>>        g_mkdir_with_parents (filename, 00700);
>>>        g_free (filename);
>>>
>>> -       /* Remove existing log files */
>>> -       tracker_file_unlink (log_filename);
>>>  }
>>>
>>>  static gboolean
>>
>>
>>
>
> Hey Tshepang,
>
> Thanks for mentioning this again. I don't think it is a good idea to
> append to a log when the indexer or daemon is started. I think it is
> better to start from scratch. If not, people will assume the top of the
> file is the start of the log when it may not be.

In such a case how about doing the same for 'tracker-indexer.log' for
consistency's sake? It currently gets appended to and not started from
scratch.

By the way is there a way to follow that log fine without re-running
'tail -f' every restart?


-- 
my place on the web:
floss-and-misc.blogspot.com
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to