gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r17335 - gnunet


From: gnunet
Subject: [GNUnet-SVN] r17335 - gnunet
Date: Mon, 10 Oct 2011 15:28:26 +0200

Author: grothoff
Date: 2011-10-10 15:28:26 +0200 (Mon, 10 Oct 2011)
New Revision: 17335

Modified:
   gnunet/HACKING
Log:
new convention

Modified: gnunet/HACKING
===================================================================
--- gnunet/HACKING      2011-10-10 13:22:18 UTC (rev 17334)
+++ gnunet/HACKING      2011-10-10 13:28:26 UTC (rev 17335)
@@ -22,7 +22,18 @@
 - libgnunet_plugin_xxx_yyy.so: plugin for API xxx
 - libgnunetxxx.so: library for API xxx
 
+logging:
+- services and daemons use their directory name in GNUNET_log_setup (i.e. 
'core')
+  and log using plain 'GNUNET_log'.
+- command-line tools use their full name in GNUNET_log_setup (i.e. 
'gnunet-publish')
+  and log using plain 'GNUNET_log'.
+- service access libraries log using 'GNUNET_log_from' and use 
+  'DIRNAME-api' for the component (i.e. 'core-api')
+- pure libraries (without associated service) use 'GNUNET_log_from' with
+  the component set to their library name (without lib
+  or '.so'), which should also be their directory name (i.e. 'nat')
 
+
 configuration:
 - paths (that are substituted in all filenames) are in PATHS (have as few as 
possible)
 - globals for the daemon are in [gnunetd] (for now, have as few as possible!)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]