aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/handbook/chapters/developer.texi13
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/handbook/chapters/developer.texi b/doc/handbook/chapters/developer.texi
index 3da2dcd88..20d8cf233 100644
--- a/doc/handbook/chapters/developer.texi
+++ b/doc/handbook/chapters/developer.texi
@@ -2411,8 +2411,8 @@ any attempts to make the same call later will be allowed or disallowed
2411right away. Because of that runtime log level evaluation should not 2411right away. Because of that runtime log level evaluation should not
2412significantly affect the process performance. 2412significantly affect the process performance.
2413Log definition parsing is only done once, at the first call to 2413Log definition parsing is only done once, at the first call to
2414@code{GNUNET_log_setup ()} made by the process (which is usually done soon after 2414@code{GNUNET_log_setup ()} made by the process (which is usually
2415it starts). 2415done soon after it starts).
2416 2416
2417At the moment of writing there is no way to specify logging definitions 2417At the moment of writing there is no way to specify logging definitions
2418from configuration files, only via environment variables. 2418from configuration files, only via environment variables.
@@ -2576,8 +2576,7 @@ Pretty hard to follow, huh?
2576 2576
2577From now on, it is not necessary to include the #if / #endif statements to 2577From now on, it is not necessary to include the #if / #endif statements to
2578achieve the same behavior. The @code{GNUNET_log} and @code{GNUNET_log_from} 2578achieve the same behavior. The @code{GNUNET_log} and @code{GNUNET_log_from}
2579macros take 2579macros take care of it for you, depending on the configure option:
2580care of it for you, depending on the configure option:
2581 2580
2582@itemize @bullet 2581@itemize @bullet
2583@item If @code{--enable-logging} is set to @code{no}, the binary will 2582@item If @code{--enable-logging} is set to @code{no}, the binary will
@@ -2589,8 +2588,7 @@ no effect. Other messages (ERROR, WARNING, INFO, etc) will be included.
2589@item If @code{--enable-logging} is set to @code{verbose}, or 2588@item If @code{--enable-logging} is set to @code{verbose}, or
2590@code{veryverbose} the binary will contain DEBUG messages (still, it will 2589@code{veryverbose} the binary will contain DEBUG messages (still, it will
2591be necessary to run with @command{-L DEBUG} or set the DEBUG config option 2590be necessary to run with @command{-L DEBUG} or set the DEBUG config option
2592to show 2591to show them).
2593them).
2594@end itemize 2592@end itemize
2595 2593
2596 2594
@@ -8933,7 +8931,8 @@ independently of the frequency in the input set. Both an element that
8933was put into the sampler a single time and an element that was put into 8931was put into the sampler a single time and an element that was put into
8934it a million times have the same probability of being the output. 8932it a million times have the same probability of being the output.
8935This is achieved with exploiting min-wise independent 8933This is achieved with exploiting min-wise independent
8936permutations. In the RPS service we use HMACs: On the initialisation of a sampler 8934permutations.
8935In the RPS service we use HMACs: On the initialisation of a sampler
8937element, a key is chosen at random. On each input the HMAC with the 8936element, a key is chosen at random. On each input the HMAC with the
8938random key is computed. The sampler element keeps the element with the 8937random key is computed. The sampler element keeps the element with the
8939minimal HMAC. 8938minimal HMAC.