[Tracker] about the need to remove log file



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


-- 
my place on the web:
floss-and-misc.blogspot.com



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