[gnome-builder] code-index: add some logging as indexes are updated
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] code-index: add some logging as indexes are updated
- Date: Tue, 5 Feb 2019 06:17:27 +0000 (UTC)
commit 10bbaee04af28a21ba6467556d370fa15641121b
Author: Christian Hergert <chergert redhat com>
Date: Sun Feb 3 23:02:00 2019 -0800
code-index: add some logging as indexes are updated
src/plugins/code-index/gbp-code-index-builder.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/plugins/code-index/gbp-code-index-builder.c b/src/plugins/code-index/gbp-code-index-builder.c
index ba2848da3..c9fdf851b 100644
--- a/src/plugins/code-index/gbp-code-index-builder.c
+++ b/src/plugins/code-index/gbp-code-index-builder.c
@@ -469,6 +469,8 @@ gbp_code_index_builder_persist_write_map_cb (GObject *object,
dzl_fuzzy_index_builder_set_metadata_uint32 (self->fuzzy, "n_files", self->next_file_id);
+ IDE_TRACE_MSG ("Writing %s", g_file_peek_path (file));
+
dzl_fuzzy_index_builder_write_async (self->fuzzy,
file,
G_PRIORITY_DEFAULT,
@@ -497,6 +499,8 @@ gbp_code_index_builder_persist_async (GbpCodeIndexBuilder *self,
g_file_make_directory_with_parents (self->index_dir, cancellable, NULL);
+ IDE_TRACE_MSG ("Writing %s", g_file_peek_path (file));
+
ide_persistent_map_builder_write_async (self->map,
file,
G_PRIORITY_DEFAULT,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]