[tracker-miners] extract: Remove unneeded log message



commit 56b54545a0a54ba2c1f7dd66b7fb47324d8bd331
Author: Sam Thursfield <sam afuera me uk>
Date:   Tue Feb 25 00:35:38 2020 +0100

    extract: Remove unneeded log message
    
    No need to print this, as the extractor rules directory is shown anyway
    on the next line:
    
        (tracker-extract:51769): Tracker-Message: 00:34:52.038: Loading extractor rules... 
(/home/sam/src/tracker-miners/build/src/tracker-extract/uninstalled-rules)
    
    The message was being shown once per extract .rule file, when the
    TRACKER_EXTRACTOR_RULES_DIR env var was set.

 src/libtracker-extract/tracker-module-manager.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/libtracker-extract/tracker-module-manager.c b/src/libtracker-extract/tracker-module-manager.c
index b0b6e2b43..1374f0c2d 100644
--- a/src/libtracker-extract/tracker-module-manager.c
+++ b/src/libtracker-extract/tracker-module-manager.c
@@ -96,8 +96,6 @@ load_extractor_rule (GKeyFile    *key_file,
                extractors_dir = g_getenv ("TRACKER_EXTRACTORS_DIR");
                if (G_LIKELY (extractors_dir == NULL)) {
                        extractors_dir = TRACKER_EXTRACTORS_DIR;
-               } else {
-                       g_message ("Extractor rules directory is '%s' (set in env)", extractors_dir);
                }
 
                tmp = g_build_filename (extractors_dir, module_path, NULL);
@@ -169,8 +167,6 @@ tracker_extract_module_manager_init (void)
        extractors_dir = g_getenv ("TRACKER_EXTRACTOR_RULES_DIR");
        if (G_LIKELY (extractors_dir == NULL)) {
                extractors_dir = TRACKER_EXTRACTOR_RULES_DIR;
-       } else {
-               g_message ("Extractor rules directory is '%s' (set in env)", extractors_dir);
        }
 
        dir = g_dir_open (extractors_dir, 0, &error);


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