Re: [Tracker] about the need to remove log file
- From: Martyn Russell <martyn imendio com>
- To: Tshepang Lekhonkhobe <tshepang gmail com>
- Cc: Tracker-List <tracker-list gnome org>
- Subject: Re: [Tracker] about the need to remove log file
- Date: Tue, 14 Oct 2008 12:05:18 +0100
Tshepang Lekhonkhobe wrote:
Me hopes this issue didn't get lost:
On Fri, Jun 27, 2008 at 4:11 PM, Tshepang Lekhonkhobe
<tshepang gmail com> 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.
--
Regards,
Martyn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]