aboutsummaryrefslogtreecommitdiff
path: root/src/util/service.c
Commit message (Collapse)AuthorAge
* -fixing indentationChristian Grothoff2011-11-29
|
* -document clock skew variable a bit moreChristian Grothoff2011-11-28
|
* curly wars / auto-indentationChristian Grothoff2011-11-04
|
* converting to GNUNET_LOG_from*Christian Grothoff2011-10-11
|
* LRN: Use GNUNET_EXTRA_LOGGING to manage compile-time logging callsChristian Grothoff2011-10-04
| | | | | | (#1805).
* LRN's big logging rewrite (#1805):Christian Grothoff2011-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* better error handlingChristian Grothoff2011-09-18
|
* run indent twice, it alternates between two 'canonical' forms, also run ↵Christian Grothoff2011-08-29
| | | | whitespace remover
* indentationChristian Grothoff2011-08-15
|
* indentationChristian Grothoff2011-08-15
|
* set clock offsetNathan S. Evans2011-07-28
|
* start serviceNathan S. Evans2011-07-26
|
* clockskew codeNathan S. Evans2011-07-25
|
* fixes mantis 1726: wrong number of addresses was returned when BINDTO is usedMatthias Wachs2011-07-01
|
* helping w32Christian Grothoff2011-06-20
|
* avoid duplicate bindsChristian Grothoff2011-06-20
|
* fixChristian Grothoff2011-06-16
|
* fixChristian Grothoff2011-06-16
|
* fixthefixChristian Grothoff2011-05-25
|
* set sxn_len on FreeBSD where requiredChristian Grothoff2011-05-25
|
* fix: unlinking unix domain sockets on freebsdMatthias Wachs2011-05-25
|
* warn if this happensChristian Grothoff2011-05-25
|
* fix leakChristian Grothoff2011-02-23
|
* fix leakChristian Grothoff2011-02-23
|
* don't use totally empty unix pathNathan S. Evans2011-02-14
|
* no AF_UNIX on WindowsNils Durner2011-02-02
|
* UNIX domain socket authentication support addedChristian Grothoff2011-01-24
|
* assertChristian Grothoff2010-12-21
|
* Returns now GNUNET_SYSERRMatthias Wachs2010-11-22
|
* Added size check for unix path configsMatthias Wachs2010-11-19
|
* big scheduler refactoring, expect some issuesNathan S. Evans2010-11-05
|
* fix warningsNils Durner2010-10-08
|
* fixChristian Grothoff2010-08-23
|
* fix hypothetical leakChristian Grothoff2010-08-14
|
* do not leak nullfdChristian Grothoff2010-08-14
|
* checkChristian Grothoff2010-08-14
|
* remove max buffer size from everywhere in utilNathan S. Evans2010-07-02
|
* reduce buffer size for all connections, and for mst processingNathan S. Evans2010-07-02
|
* fixing common off-by-one error with respect to maximum message sizeChristian Grothoff2010-06-25
|
* leakChristian Grothoff2010-06-25
|
* do not bind if port is zeroChristian Grothoff2010-06-23
|
* checkChristian Grothoff2010-06-23
|
* fix scanfChristian Grothoff2010-06-23
|
* support for systemd style listen fd passingChristian Grothoff2010-06-23
|
* code clean upChristian Grothoff2010-06-18
|
* leakChristian Grothoff2010-06-13
|
* freeChristian Grothoff2010-06-13
|
* fixesChristian Grothoff2010-06-13
|
* minor fixesChristian Grothoff2010-06-11
|
* leakChristian Grothoff2010-06-11
|