logging: make sure to add the internal categories, as intended
diff --git a/src/logging.c b/src/logging.c
index 8fd2e00..c05b523 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -637,4 +637,10 @@
 	}
 
 	/* copy over the library part */
+	for (i = 0; i < ARRAY_SIZE(internal_cat); i++) {
+		memcpy(&osmo_log_info->cat[inf->num_cat+i],
+			&internal_cat[i], sizeof(struct log_info_cat));
+	}
+
+	return 0;
 }