diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-04 13:24:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-04 13:24:22 +0000 |
commit | a5d0694571db763efd0787a680168492f325b2e6 (patch) | |
tree | 1190488e92987d408c93d5b0edf9f0f48d47b81e /src/fs | |
parent | 4bc01ed4fb1083681966558efcbc069876cddcc3 (diff) | |
download | gnunet-a5d0694571db763efd0787a680168492f325b2e6.tar.gz gnunet-a5d0694571db763efd0787a680168492f325b2e6.zip |
LRN: Use GNUNET_EXTRA_LOGGING to manage compile-time logging calls
(#1805).
Diffstat (limited to 'src/fs')
30 files changed, 30 insertions, 30 deletions
diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index ba4461986..af889d804 100644 --- a/src/fs/fs_download.c +++ b/src/fs/fs_download.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include "fs.h" | 31 | #include "fs.h" |
32 | #include "fs_tree.h" | 32 | #include "fs_tree.h" |
33 | 33 | ||
34 | #define DEBUG_DOWNLOAD GNUNET_NO | 34 | #define DEBUG_DOWNLOAD GNUNET_EXTRA_LOGGING |
35 | 35 | ||
36 | /** | 36 | /** |
37 | * Determine if the given download (options and meta data) should cause | 37 | * Determine if the given download (options and meta data) should cause |
diff --git a/src/fs/fs_namespace.c b/src/fs/fs_namespace.c index 7475896a8..7b2d5071c 100644 --- a/src/fs/fs_namespace.c +++ b/src/fs/fs_namespace.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
31 | #include "fs.h" | 31 | #include "fs.h" |
32 | 32 | ||
33 | #define DEBUG_NAMESPACE GNUNET_NO | 33 | #define DEBUG_NAMESPACE GNUNET_EXTRA_LOGGING |
34 | 34 | ||
35 | /** | 35 | /** |
36 | * Return the name of the directory in which we store | 36 | * Return the name of the directory in which we store |
diff --git a/src/fs/fs_publish.c b/src/fs/fs_publish.c index b286d41ca..4f27abae4 100644 --- a/src/fs/fs_publish.c +++ b/src/fs/fs_publish.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include "fs.h" | 34 | #include "fs.h" |
35 | #include "fs_tree.h" | 35 | #include "fs_tree.h" |
36 | 36 | ||
37 | #define DEBUG_PUBLISH GNUNET_NO | 37 | #define DEBUG_PUBLISH GNUNET_EXTRA_LOGGING |
38 | 38 | ||
39 | 39 | ||
40 | /** | 40 | /** |
diff --git a/src/fs/fs_search.c b/src/fs/fs_search.c index 10cce3f1f..93a787477 100644 --- a/src/fs/fs_search.c +++ b/src/fs/fs_search.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include "gnunet_protocols.h" | 30 | #include "gnunet_protocols.h" |
31 | #include "fs.h" | 31 | #include "fs.h" |
32 | 32 | ||
33 | #define DEBUG_SEARCH GNUNET_NO | 33 | #define DEBUG_SEARCH GNUNET_EXTRA_LOGGING |
34 | 34 | ||
35 | /** | 35 | /** |
36 | * Fill in all of the generic fields for a search event and | 36 | * Fill in all of the generic fields for a search event and |
diff --git a/src/fs/fs_tree.c b/src/fs/fs_tree.c index 60e80efbb..fc04446c9 100644 --- a/src/fs/fs_tree.c +++ b/src/fs/fs_tree.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "fs_tree.h" | 28 | #include "fs_tree.h" |
29 | 29 | ||
30 | #define DEBUG_TREE GNUNET_NO | 30 | #define DEBUG_TREE GNUNET_EXTRA_LOGGING |
31 | 31 | ||
32 | /** | 32 | /** |
33 | * Context for an ECRS-based file encoder that computes | 33 | * Context for an ECRS-based file encoder that computes |
diff --git a/src/fs/fs_unindex.c b/src/fs/fs_unindex.c index a37a39a78..8dab62051 100644 --- a/src/fs/fs_unindex.c +++ b/src/fs/fs_unindex.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include "fs.h" | 31 | #include "fs.h" |
32 | #include "fs_tree.h" | 32 | #include "fs_tree.h" |
33 | 33 | ||
34 | #define DEBUG_UNINDEX GNUNET_NO | 34 | #define DEBUG_UNINDEX GNUNET_EXTRA_LOGGING |
35 | 35 | ||
36 | /** | 36 | /** |
37 | * Function called by the tree encoder to obtain | 37 | * Function called by the tree encoder to obtain |
diff --git a/src/fs/gnunet-service-fs.h b/src/fs/gnunet-service-fs.h index ef2eebc8d..8ba90dd22 100644 --- a/src/fs/gnunet-service-fs.h +++ b/src/fs/gnunet-service-fs.h | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | #define DEBUG_FS GNUNET_YES | 36 | #define DEBUG_FS GNUNET_YES |
37 | 37 | ||
38 | #define DEBUG_FS_CLIENT GNUNET_NO | 38 | #define DEBUG_FS_CLIENT GNUNET_EXTRA_LOGGING |
39 | 39 | ||
40 | 40 | ||
41 | /** | 41 | /** |
diff --git a/src/fs/gnunet-service-fs_push.c b/src/fs/gnunet-service-fs_push.c index acdba81f0..515446117 100644 --- a/src/fs/gnunet-service-fs_push.c +++ b/src/fs/gnunet-service-fs_push.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include "gnunet-service-fs_push.h" | 31 | #include "gnunet-service-fs_push.h" |
32 | 32 | ||
33 | 33 | ||
34 | #define DEBUG_FS_MIGRATION GNUNET_NO | 34 | #define DEBUG_FS_MIGRATION GNUNET_EXTRA_LOGGING |
35 | 35 | ||
36 | /** | 36 | /** |
37 | * How long must content remain valid for us to consider it for migration? | 37 | * How long must content remain valid for us to consider it for migration? |
diff --git a/src/fs/perf_gnunet_service_fs_p2p.c b/src/fs/perf_gnunet_service_fs_p2p.c index 0bf05d0ce..bff884e32 100644 --- a/src/fs/perf_gnunet_service_fs_p2p.c +++ b/src/fs/perf_gnunet_service_fs_p2p.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include "fs_test_lib.h" | 27 | #include "fs_test_lib.h" |
28 | #include "gnunet_testing_lib.h" | 28 | #include "gnunet_testing_lib.h" |
29 | 29 | ||
30 | #define VERBOSE GNUNET_NO | 30 | #define VERBOSE GNUNET_EXTRA_LOGGING |
31 | 31 | ||
32 | /** | 32 | /** |
33 | * File-size we use for testing. | 33 | * File-size we use for testing. |
diff --git a/src/fs/perf_gnunet_service_fs_p2p_trust.c b/src/fs/perf_gnunet_service_fs_p2p_trust.c index 64ddee638..9f5a36b7e 100644 --- a/src/fs/perf_gnunet_service_fs_p2p_trust.c +++ b/src/fs/perf_gnunet_service_fs_p2p_trust.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #include "fs_test_lib.h" | 47 | #include "fs_test_lib.h" |
48 | #include "gnunet_testing_lib.h" | 48 | #include "gnunet_testing_lib.h" |
49 | 49 | ||
50 | #define VERBOSE GNUNET_NO | 50 | #define VERBOSE GNUNET_EXTRA_LOGGING |
51 | 51 | ||
52 | /** | 52 | /** |
53 | * File-size we use for testing. | 53 | * File-size we use for testing. |
diff --git a/src/fs/test_fs.c b/src/fs/test_fs.c index 9aee89e85..6e9581d17 100644 --- a/src/fs/test_fs.c +++ b/src/fs/test_fs.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include "gnunet_util.h" | 28 | #include "gnunet_util.h" |
29 | #include "gnunet_fsui_lib.h" | 29 | #include "gnunet_fsui_lib.h" |
30 | 30 | ||
31 | #define DEBUG_VERBOSE GNUNET_NO | 31 | #define DEBUG_VERBOSE GNUNET_EXTRA_LOGGING |
32 | 32 | ||
33 | #define CHECK(a) if (!(a)) { ok = GNUNET_NO; GNUNET_GE_BREAK(NULL, 0); goto FAILURE; } | 33 | #define CHECK(a) if (!(a)) { ok = GNUNET_NO; GNUNET_GE_BREAK(NULL, 0); goto FAILURE; } |
34 | 34 | ||
diff --git a/src/fs/test_fs_download.c b/src/fs/test_fs_download.c index 10f4c0ce4..19ef6e76a 100644 --- a/src/fs/test_fs_download.c +++ b/src/fs/test_fs_download.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
31 | #include <gauger.h> | 31 | #include <gauger.h> |
32 | 32 | ||
33 | #define VERBOSE GNUNET_NO | 33 | #define VERBOSE GNUNET_EXTRA_LOGGING |
34 | 34 | ||
35 | #define START_ARM GNUNET_YES | 35 | #define START_ARM GNUNET_YES |
36 | 36 | ||
diff --git a/src/fs/test_fs_download_indexed.c b/src/fs/test_fs_download_indexed.c index 1811b325d..3f932f783 100644 --- a/src/fs/test_fs_download_indexed.c +++ b/src/fs/test_fs_download_indexed.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
31 | #include <gauger.h> | 31 | #include <gauger.h> |
32 | 32 | ||
33 | #define VERBOSE GNUNET_NO | 33 | #define VERBOSE GNUNET_EXTRA_LOGGING |
34 | 34 | ||
35 | #define START_ARM GNUNET_YES | 35 | #define START_ARM GNUNET_YES |
36 | 36 | ||
diff --git a/src/fs/test_fs_download_persistence.c b/src/fs/test_fs_download_persistence.c index c26a60978..9bc37235e 100644 --- a/src/fs/test_fs_download_persistence.c +++ b/src/fs/test_fs_download_persistence.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "gnunet_arm_service.h" | 29 | #include "gnunet_arm_service.h" |
30 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
31 | 31 | ||
32 | #define VERBOSE GNUNET_NO | 32 | #define VERBOSE GNUNET_EXTRA_LOGGING |
33 | 33 | ||
34 | #define START_ARM GNUNET_YES | 34 | #define START_ARM GNUNET_YES |
35 | 35 | ||
diff --git a/src/fs/test_fs_download_recursive.c b/src/fs/test_fs_download_recursive.c index d350dcae8..cede523ec 100644 --- a/src/fs/test_fs_download_recursive.c +++ b/src/fs/test_fs_download_recursive.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "gnunet_util.h" | 29 | #include "gnunet_util.h" |
30 | #include "gnunet_fsui_lib.h" | 30 | #include "gnunet_fsui_lib.h" |
31 | 31 | ||
32 | #define DEBUG_VERBOSE GNUNET_NO | 32 | #define DEBUG_VERBOSE GNUNET_EXTRA_LOGGING |
33 | 33 | ||
34 | #define CHECK(a) if (!(a)) { ok = GNUNET_NO; GNUNET_GE_BREAK(ectx, 0); goto FAILURE; } | 34 | #define CHECK(a) if (!(a)) { ok = GNUNET_NO; GNUNET_GE_BREAK(ectx, 0); goto FAILURE; } |
35 | 35 | ||
diff --git a/src/fs/test_fs_file_information.c b/src/fs/test_fs_file_information.c index db5a8448a..a459c565f 100644 --- a/src/fs/test_fs_file_information.c +++ b/src/fs/test_fs_file_information.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include "gnunet_util_lib.h" | 36 | #include "gnunet_util_lib.h" |
37 | #include "gnunet_fs_service.h" | 37 | #include "gnunet_fs_service.h" |
38 | 38 | ||
39 | #define VERBOSE GNUNET_NO | 39 | #define VERBOSE GNUNET_EXTRA_LOGGING |
40 | 40 | ||
41 | /** | 41 | /** |
42 | * File-size we use for testing. | 42 | * File-size we use for testing. |
diff --git a/src/fs/test_fs_list_indexed.c b/src/fs/test_fs_list_indexed.c index b86506f8d..870f51a4a 100644 --- a/src/fs/test_fs_list_indexed.c +++ b/src/fs/test_fs_list_indexed.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include "gnunet_arm_service.h" | 33 | #include "gnunet_arm_service.h" |
34 | #include "gnunet_fs_service.h" | 34 | #include "gnunet_fs_service.h" |
35 | 35 | ||
36 | #define VERBOSE GNUNET_NO | 36 | #define VERBOSE GNUNET_EXTRA_LOGGING |
37 | 37 | ||
38 | #define START_ARM GNUNET_YES | 38 | #define START_ARM GNUNET_YES |
39 | 39 | ||
diff --git a/src/fs/test_fs_namespace.c b/src/fs/test_fs_namespace.c index ae2f77806..b1221eb82 100644 --- a/src/fs/test_fs_namespace.c +++ b/src/fs/test_fs_namespace.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include "gnunet_arm_service.h" | 28 | #include "gnunet_arm_service.h" |
29 | #include "gnunet_fs_service.h" | 29 | #include "gnunet_fs_service.h" |
30 | 30 | ||
31 | #define VERBOSE GNUNET_NO | 31 | #define VERBOSE GNUNET_EXTRA_LOGGING |
32 | 32 | ||
33 | #define START_ARM GNUNET_YES | 33 | #define START_ARM GNUNET_YES |
34 | 34 | ||
diff --git a/src/fs/test_fs_namespace_list_updateable.c b/src/fs/test_fs_namespace_list_updateable.c index 1ad2fb5ac..5f6ead36b 100644 --- a/src/fs/test_fs_namespace_list_updateable.c +++ b/src/fs/test_fs_namespace_list_updateable.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include "gnunet_arm_service.h" | 28 | #include "gnunet_arm_service.h" |
29 | #include "gnunet_fs_service.h" | 29 | #include "gnunet_fs_service.h" |
30 | 30 | ||
31 | #define VERBOSE GNUNET_NO | 31 | #define VERBOSE GNUNET_EXTRA_LOGGING |
32 | 32 | ||
33 | #define START_ARM GNUNET_YES | 33 | #define START_ARM GNUNET_YES |
34 | 34 | ||
diff --git a/src/fs/test_fs_publish.c b/src/fs/test_fs_publish.c index 3db0a7c62..81ec3dd7f 100644 --- a/src/fs/test_fs_publish.c +++ b/src/fs/test_fs_publish.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include "gnunet_arm_service.h" | 30 | #include "gnunet_arm_service.h" |
31 | #include "gnunet_fs_service.h" | 31 | #include "gnunet_fs_service.h" |
32 | 32 | ||
33 | #define VERBOSE GNUNET_NO | 33 | #define VERBOSE GNUNET_EXTRA_LOGGING |
34 | 34 | ||
35 | #define START_ARM GNUNET_YES | 35 | #define START_ARM GNUNET_YES |
36 | 36 | ||
diff --git a/src/fs/test_fs_publish_persistence.c b/src/fs/test_fs_publish_persistence.c index eab0aa650..145ef0ca9 100644 --- a/src/fs/test_fs_publish_persistence.c +++ b/src/fs/test_fs_publish_persistence.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "gnunet_arm_service.h" | 29 | #include "gnunet_arm_service.h" |
30 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
31 | 31 | ||
32 | #define VERBOSE GNUNET_NO | 32 | #define VERBOSE GNUNET_EXTRA_LOGGING |
33 | 33 | ||
34 | #define START_ARM GNUNET_YES | 34 | #define START_ARM GNUNET_YES |
35 | 35 | ||
diff --git a/src/fs/test_fs_search.c b/src/fs/test_fs_search.c index d8e592b6f..9d9825e2f 100644 --- a/src/fs/test_fs_search.c +++ b/src/fs/test_fs_search.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "gnunet_arm_service.h" | 29 | #include "gnunet_arm_service.h" |
30 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
31 | 31 | ||
32 | #define VERBOSE GNUNET_NO | 32 | #define VERBOSE GNUNET_EXTRA_LOGGING |
33 | 33 | ||
34 | #define START_ARM GNUNET_YES | 34 | #define START_ARM GNUNET_YES |
35 | 35 | ||
diff --git a/src/fs/test_fs_search_persistence.c b/src/fs/test_fs_search_persistence.c index 335b1bee3..74ba9659a 100644 --- a/src/fs/test_fs_search_persistence.c +++ b/src/fs/test_fs_search_persistence.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "gnunet_arm_service.h" | 29 | #include "gnunet_arm_service.h" |
30 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
31 | 31 | ||
32 | #define VERBOSE GNUNET_NO | 32 | #define VERBOSE GNUNET_EXTRA_LOGGING |
33 | 33 | ||
34 | #define START_ARM GNUNET_YES | 34 | #define START_ARM GNUNET_YES |
35 | 35 | ||
diff --git a/src/fs/test_fs_search_ranking.c b/src/fs/test_fs_search_ranking.c index 53522c6fe..6da936342 100644 --- a/src/fs/test_fs_search_ranking.c +++ b/src/fs/test_fs_search_ranking.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include "gnunet_util.h" | 28 | #include "gnunet_util.h" |
29 | #include "gnunet_fsui_lib.h" | 29 | #include "gnunet_fsui_lib.h" |
30 | 30 | ||
31 | #define CHECK_VERBOSE GNUNET_NO | 31 | #define CHECK_VERBOSE GNUNET_EXTRA_LOGGING |
32 | 32 | ||
33 | #define CHECK(a) if (!(a)) { ok = GNUNET_NO; GNUNET_GE_BREAK(NULL, 0); goto FAILURE; } | 33 | #define CHECK(a) if (!(a)) { ok = GNUNET_NO; GNUNET_GE_BREAK(NULL, 0); goto FAILURE; } |
34 | 34 | ||
diff --git a/src/fs/test_fs_start_stop.c b/src/fs/test_fs_start_stop.c index c65ad2fc1..23678fbf9 100644 --- a/src/fs/test_fs_start_stop.c +++ b/src/fs/test_fs_start_stop.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "gnunet_arm_service.h" | 29 | #include "gnunet_arm_service.h" |
30 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
31 | 31 | ||
32 | #define VERBOSE GNUNET_NO | 32 | #define VERBOSE GNUNET_EXTRA_LOGGING |
33 | 33 | ||
34 | #define START_ARM GNUNET_YES | 34 | #define START_ARM GNUNET_YES |
35 | 35 | ||
diff --git a/src/fs/test_fs_test_lib.c b/src/fs/test_fs_test_lib.c index 589abb3fb..8f0bc1c87 100644 --- a/src/fs/test_fs_test_lib.c +++ b/src/fs/test_fs_test_lib.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "fs_test_lib.h" | 27 | #include "fs_test_lib.h" |
28 | 28 | ||
29 | #define VERBOSE GNUNET_NO | 29 | #define VERBOSE GNUNET_EXTRA_LOGGING |
30 | 30 | ||
31 | /** | 31 | /** |
32 | * File-size we use for testing. | 32 | * File-size we use for testing. |
diff --git a/src/fs/test_fs_unindex.c b/src/fs/test_fs_unindex.c index 99913fbcf..9b21cd651 100644 --- a/src/fs/test_fs_unindex.c +++ b/src/fs/test_fs_unindex.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "gnunet_arm_service.h" | 29 | #include "gnunet_arm_service.h" |
30 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
31 | 31 | ||
32 | #define VERBOSE GNUNET_NO | 32 | #define VERBOSE GNUNET_EXTRA_LOGGING |
33 | 33 | ||
34 | #define START_ARM GNUNET_YES | 34 | #define START_ARM GNUNET_YES |
35 | 35 | ||
diff --git a/src/fs/test_fs_unindex_persistence.c b/src/fs/test_fs_unindex_persistence.c index 69623ac7c..0529aacfa 100644 --- a/src/fs/test_fs_unindex_persistence.c +++ b/src/fs/test_fs_unindex_persistence.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include "gnunet_arm_service.h" | 28 | #include "gnunet_arm_service.h" |
29 | #include "gnunet_fs_service.h" | 29 | #include "gnunet_fs_service.h" |
30 | 30 | ||
31 | #define VERBOSE GNUNET_NO | 31 | #define VERBOSE GNUNET_EXTRA_LOGGING |
32 | 32 | ||
33 | #define START_ARM GNUNET_YES | 33 | #define START_ARM GNUNET_YES |
34 | 34 | ||
diff --git a/src/fs/test_gnunet_service_fs_migration.c b/src/fs/test_gnunet_service_fs_migration.c index 3d6735cc4..5d8aa21ef 100644 --- a/src/fs/test_gnunet_service_fs_migration.c +++ b/src/fs/test_gnunet_service_fs_migration.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include "fs_test_lib.h" | 27 | #include "fs_test_lib.h" |
28 | #include "gnunet_testing_lib.h" | 28 | #include "gnunet_testing_lib.h" |
29 | 29 | ||
30 | #define VERBOSE GNUNET_NO | 30 | #define VERBOSE GNUNET_EXTRA_LOGGING |
31 | 31 | ||
32 | /** | 32 | /** |
33 | * File-size we use for testing. | 33 | * File-size we use for testing. |
diff --git a/src/fs/test_gnunet_service_fs_p2p.c b/src/fs/test_gnunet_service_fs_p2p.c index 17b7ec181..434dd3ce5 100644 --- a/src/fs/test_gnunet_service_fs_p2p.c +++ b/src/fs/test_gnunet_service_fs_p2p.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "fs_test_lib.h" | 27 | #include "fs_test_lib.h" |
28 | 28 | ||
29 | #define VERBOSE GNUNET_NO | 29 | #define VERBOSE GNUNET_EXTRA_LOGGING |
30 | 30 | ||
31 | /** | 31 | /** |
32 | * File-size we use for testing. | 32 | * File-size we use for testing. |