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



Tshepang Lekhonkhobe wrote:
On Tue, Oct 14, 2008 at 1:05 PM, Martyn Russell <martyn imendio com> wrote:
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.

OK, I thought we did the same in the indexer too.

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

Hmm, I thought it worked by just keeping the command running. If not,
perhaps the --retry switch works. I have never tried it though.

-- 
Regards,
Martyn



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