Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | LRN's big logging rewrite (#1805): | Christian Grothoff | 2011-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 | ||
* | fix for 1819: | Matthias Wachs | 2011-10-04 |
| | | | | | when HELLO message arrives, peer's public key is added to peerinfo even no addresses could be validated | ||
* | bugfixes | Matthias Wachs | 2011-10-04 |
| | | | | | timeout handling for other transmission direction | ||
* | adding stats | Christian Grothoff | 2011-10-04 |
| | |||
* | factor out stop into new task (in preparation) | Christian Grothoff | 2011-10-04 |
| | |||
* | (no commit message) | Matthias Wachs | 2011-10-04 |
| | |||
* | fixing #17134 | Matthias Wachs | 2011-10-04 |
| | |||
* | re-enabling timeouts | Matthias Wachs | 2011-10-04 |
| | |||
* | Tweaked test configuration and log messages | Bart Polot | 2011-10-03 |
| | |||
* | Fixed size request from core on create path and path ack, reformatted call ↵ | Bart Polot | 2011-10-03 |
| | | | | to make more readable | ||
* | Fixed a bug in create path handling, extended debug info. | Bart Polot | 2011-10-03 |
| | |||
* | fix 1814 | Christian Grothoff | 2011-10-02 |
| | |||
* | fix #1713 (see discussion there) | Christian Grothoff | 2011-10-02 |
| | |||
* | no printf | Christian Grothoff | 2011-09-30 |
| | |||
* | fixing bloomfilter code, fixing testcase | Christian Grothoff | 2011-09-30 |
| | |||
* | adding empty lines | Christian Grothoff | 2011-09-30 |
| | |||
* | Debug statements | Bart Polot | 2011-09-30 |
| | |||
* | added functionality: immediate server rescheduling | Matthias Wachs | 2011-09-30 |
| | | | | | | + debugging functionality to find server disconnect problem | ||
* | just to be sure curl is not causing the disconnects | Matthias Wachs | 2011-09-30 |
| | |||
* | Commented out DHT code, removed DHT-dependent test from run set. | Bart Polot | 2011-09-30 |
| | |||
* | putting session handling in function | Matthias Wachs | 2011-09-30 |
| | |||
* | beautification | Matthias Wachs | 2011-09-30 |
| | |||
* | Added send path create on new peer with direct connection, added resource ↵ | Bart Polot | 2011-09-30 |
| | | | | liberation on neighbor disconnection which queued messages | ||
* | some diagnoses | Matthias Wachs | 2011-09-30 |
| | |||
* | fixing #1801 | Matthias Wachs | 2011-09-30 |
| | |||
* | check if transport client is still connected before sending SEND_OK | Matthias Wachs | 2011-09-30 |
| | |||
* | added assertion to find https://www.gnunet.org/bugs/view.php?id=1808 | Matthias Wachs | 2011-09-30 |
| | |||
* | fix | Christian Grothoff | 2011-09-30 |
| | |||
* | re-add logging, move BF add operations to the latest possible time to avoid ↵ | Christian Grothoff | 2011-09-30 |
| | | | | polluting tests needlessly | ||
* | speed up BF tests | Christian Grothoff | 2011-09-30 |
| | |||
* | nicer | Christian Grothoff | 2011-09-30 |
| | |||
* | remove excessive logging | Christian Grothoff | 2011-09-29 |
| | |||
* | removing excessive logging, adding missing decrement (choice) to avoid ↵ | Christian Grothoff | 2011-09-29 |
| | | | | assertion failure; fixing loop bounds in non-random peer selection | ||
* | use demultiplex everywhere | Christian Grothoff | 2011-09-29 |
| | |||
* | nolog | Christian Grothoff | 2011-09-29 |
| | |||
* | also demultiplex everywhere on put | Christian Grothoff | 2011-09-29 |
| | |||
* | Fixed multicast retransmission, fixed memory managemenet at path creation | Bart Polot | 2011-09-29 |
| | |||
* | fix code to perform GET retries | Christian Grothoff | 2011-09-29 |
| | |||
* | use unique keys for each peer pair | Christian Grothoff | 2011-09-29 |
| | |||
* | do not add 1 twice -- callee also added 1, resulting in an increment by 2 ↵ | Christian Grothoff | 2011-09-29 |
| | | | | per hop | ||
* | WiP | Bart Polot | 2011-09-29 |
| | |||
* | log more details for debugging | Christian Grothoff | 2011-09-29 |
| | |||
* | bugfix | Christian Grothoff | 2011-09-29 |
| | |||
* | cleaning up testcase, debugging | Christian Grothoff | 2011-09-29 |
| | |||
* | fix disconnect message transmission, send keepalives | Christian Grothoff | 2011-09-29 |
| | |||
* | report disconnect reasons in stats | Christian Grothoff | 2011-09-29 |
| | |||
* | report disconnect reasons in stats | Christian Grothoff | 2011-09-29 |
| | |||
* | disable for now | Christian Grothoff | 2011-09-29 |
| | |||
* | nicer | Christian Grothoff | 2011-09-29 |
| | |||
* | better reporting | Christian Grothoff | 2011-09-29 |
| |