Description: Adjust log messages about check inode attribute comparison
Author: Hannes von Haugwitz <hannes@vonhaugwitz.com>
Date:   Wed Mar 8 20:50:58 2023 +0100
Forwarded: not-needed
--- a/src/gen_list.c
+++ b/src/gen_list.c
@@ -608,12 +608,12 @@ void add_file_to_tree(seltree* tree,db_l
   if (node->parent != NULL) { /* root (/) has no parent */
       if (db_flags&DB_OLD) {
           if(file->attr & ATTR(attr_checkinode)) {
-              log_msg(LOG_LEVEL_DEBUG, "│ '%s' has check inode attribute set, set NODE_CHECK_INODE_CHILD for parent '%s'", file->filename, (node->parent)->path);
+              log_msg(compare_log_level, "│ '%s' (inode: %li) has check inode attribute set, set NODE_CHECK_INODE_CHILD for parent '%s'", file->filename, file->inode, (node->parent)->path);
               (node->parent)->checked |= NODE_CHECK_INODE_CHILDS;
           }
       } else {
           if( (node->parent)->checked&NODE_CHECK_INODE_CHILDS && node->new_data != NULL ) {
-              log_msg(compare_log_level, "┝ parent directory (%s) of '%s' has entries with check inode attribute set, search for source file with same inode", (node->parent)->path, (node->new_data)->filename);
+              log_msg(compare_log_level, "┝ parent directory (%s) of '%s' (inode: %li) has entries with check inode attribute set, search for source file with same inode", (node->parent)->path, (node->new_data)->filename, (node->new_data)->inode);
               seltree* moved_node = NULL;
               for (list* c = (node->parent)->childs ; c ; c = c->next) {
                   seltree* child =  c->data;
