Age | Commit message (Collapse) | Author |
|
git-svn-id: https://gnunet.org/svn/gnunet@25629 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@25479 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@25040 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@24697 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@24693 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@22472 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@21795 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@21140 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@20838 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@20622 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
GNUNET_DISK_file_size instead of STAT
git-svn-id: https://gnunet.org/svn/gnunet@20600 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@20594 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@20478 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@20287 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@20082 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@20034 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@19954 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@19563 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@18855 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
W32 using #pragma pack from gcc 4.x
git-svn-id: https://gnunet.org/svn/gnunet@18730 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@18394 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
compiles but no guarante to work!
git-svn-id: https://gnunet.org/svn/gnunet@18368 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@18349 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
subsystems -- use a struct instead of 3--4 arguments
git-svn-id: https://gnunet.org/svn/gnunet@18058 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@18055 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@18028 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
-no-undefined is not a valid compiler option as of GCC 4.6.x
(it IS valid linker option).
Note that this REQUIRES an extra -no-undefined to be passed to
libtool (this is done by GN_LIB_LDLFAGS and GN_PLUGIN_LDFLAGS),
because libtool does not understand -Wl,-no-undefined.
git-svn-id: https://gnunet.org/svn/gnunet@18013 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@18000 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
(#1805).
git-svn-id: https://gnunet.org/svn/gnunet@17173 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
* GNUNET_BOTTOM_LOGLEVEL and GNUNET_TOP_LOGLEVEL set global levels
Use bottom level to force logging to be more verbose than configured
Use top level to force logging to be less verbose than configured
Obviously, bottom <= top
* GNUNET_LOG sets per-component levels
GNUNET_LOG looks like this:
name[/bottom[/top]]/...
name starts with a non-digit character, must not include '/'
bottom and top must consist only of digits, or be empty
a description is only used if it matches the component exactly
as a special exception (for now) the name '*' matches any component
per-component loglevels override global loglevels
global levels override whatever is given via arguments or in config
Examples:
test_client/8/8/
run test_client with DEBUG level (usually leads to a timeout, by the way)
*/2/2/core/8/8/transport/4/4
run everything with WARNING, core - with DEBUG, transport - with INFO
*//1/peerinfo/4/
run everything with top loglevel ERROR, global/configured bottom loglevel,
and peerinfo - with bottom loglevel INFO and global/configured top loglevel
statistics/
does nothing
* Added GNUNET_ERROR_TYPE_UNSPECIFIED enum value, to hold -1.
Its corresponding string is NULL.
* Changed the logger calls as Grothoff suggested - to use static int to hold
the result of runtime evaluation of logability.
Logging can be unconditionally disabled in advance by defining
GNUNET_LOG_CALL_STATUS to 0, and enabled in advance by defining it to 1.
* Added GNUNET_CULL_LOGGING, which, if defined, completely culls out all
logging calls at compile time.
* Log definition parsing is only done once, results are cached.
* Changed definition format, now it looks like this:
[component|*|];[file|*|];[function|*|];[from_line[-to_line]];level/[component...]
All field separators are mandatory (but some fields could be empty or be '*').
Line definition must be either empty or "number" or "number-number"
Level definition must not be empty, and is a string representation
of the level (i.e. DEBUG, WARNING, INFO, etc).
Definition entry must end with a slash, whether or not there's another
entry after it.
File name is matched to the end of __FILE__, which allows file name
to match not only the base name, but also directories leading to it.
* Removed default WARNING loglevel from program and service utility code.
Now they default to NULL (UNSPECIFIED) level, which can be overriden by
GNUNET_LOG definition, if no level is specified via config or commandline.
Log levels from config or commandline are overriden by GNUNET_FORCE_LOG.
If GNUNET_*LOG are undefined, and no levels came from config or commandline,
logger internally defaults to WARNING level.
Add --enable-logging configure option
git-svn-id: https://gnunet.org/svn/gnunet@17162 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@17060 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
whitespace remover
git-svn-id: https://gnunet.org/svn/gnunet@16620 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@16583 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@16581 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
some clean up
git-svn-id: https://gnunet.org/svn/gnunet@15521 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@13422 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@12377 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@12098 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@11961 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@11661 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@11506 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@11150 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@11149 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@10871 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@10756 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@10682 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@10291 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@10289 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@9121 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@8958 140774ce-b5e7-0310-ab8b-a85725594a96
|