diff options
author | Jamie McCracken <jamiemcc@src.gnome.org> | 2007-01-29 11:22:51 +0000 |
---|---|---|
committer | Jamie McCracken <jamiemcc@src.gnome.org> | 2007-01-29 11:22:51 +0000 |
commit | 6181454f18be0699f153c4558f583e94e0e5b697 (patch) | |
tree | 062eb6f7a2f8c30018d9781dba4706634200e040 | |
parent | bc174757fc2a4b7d89f40252f3d666fd33fde15a (diff) | |
download | tracker-6181454f18be0699f153c4558f583e94e0e5b697.tar.gz |
added check message for indexing large files so that miome/services are included in log file for it at default verbosity
svn path=/trunk/; revision=455
-rw-r--r-- | src/trackerd/tracker-db.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/trackerd/tracker-db.c b/src/trackerd/tracker-db.c index b1704a646..1eaefb26d 100644 --- a/src/trackerd/tracker-db.c +++ b/src/trackerd/tracker-db.c @@ -943,6 +943,11 @@ tracker_db_index_file (DBConnection *db_con, FileInfo *info, gboolean is_attachm if (!info->mime) { info->mime = g_strdup ("unknown"); } + + if (info->file_size > 10000000) { + tracker_log ("Checking large file %s with size %d, mime %s and service %s", info->uri, info->file_size, info->mime, service_name); + } + } if (info->is_link) { @@ -981,7 +986,6 @@ tracker_db_index_file (DBConnection *db_con, FileInfo *info, gboolean is_attachm g_free (str_link_uri); - is_external_service = g_str_has_prefix (info->mime, "service/"); is_file_indexable = (!info->is_directory && (strcmp (info->mime, "unknown") != 0) && (strcmp (info->mime, "symlink") != 0)); |