aboutsummaryrefslogtreecommitdiff
path: root/src/common/log.c
Commit message (Expand)AuthorAge
* Add the heartbeat domain in log.c:domain_list[]•••so that parse_log_domain() doesn't fail. George Kadianakis2011-06-05
* Merge remote-tracking branch 'origin/maint-0.2.2'•••Conflicts: src/common/Makefile.am src/or/control.c Nick Mathewson2011-05-23
|\
| * Fix some commentsRobert Ransom2011-05-20
* | Merge remote-tracking branch 'origin/maint-0.2.2'•••Conflicts: src/or/rephist.c Nick Mathewson2011-04-08
|\|
| * Free pending_cb_messages on exitNick Mathewson2011-04-07
* | Merge remote-tracking branch 'origin/maint-0.2.2'•••Conflicts: src/common/crypto.c Nick Mathewson2011-03-16
|\|
| * Clean up whitespaceNick Mathewson2011-03-16
* | Merge remote-tracking branch 'origin/maint-0.2.2'•••Trivial Conflicts in src/common/crypto.c src/or/main.h src/or/or.h Nick Mathewson2011-03-16
|\|
| * Doxygen documentation for about 100 things that didn't have any•••About 860 doxygen-less things remain in 0.2.2 Nick Mathewson2011-03-16
* | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-02-22
|\|
| * That shalt also not have a label without a statement.Nick Mathewson2011-02-22
| * Thou shalt not overflow even stupidly small buffersRobert Ransom2011-02-04
| * Add a torrc option to report log domainsNick Mathewson2011-01-25
| * Simplify syntax for negated log domains•••Previously if you wanted to say "All messages except network messages", you needed to say "[*,~net]" and if you said "[~net]" by mistake, you would get no messages at all. Now, if you say "[~net]", you get everything except networking messages. Nick Mathewson2011-01-25
* | typosRoger Dingledine2011-01-12
* | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-01-03
|\|
| * Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2011-01-03
| |\
| | * Bump copyright statements to 2011Nick Mathewson2011-01-03
| | * Do not send Libevent log messages to a controller (0.2.1 backport)•••Doing so could make Libevent call Libevent from inside a Libevent logging call, which is a recipe for reentrant confusion and hard-to-debug crashes. This would especially hurt if Libevent debug-level logging is enabled AND the user has a controller watching for low-severity log messages. Fix bug 2190; fix on 0.1.0.2-rc. Nick Mathewson2010-11-19
* | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2010-12-21
|\| |
| * | Only add each log message to pending_cb_messages once.Robert Ransom2010-12-11
| * | Don't call flush_pending_log_callbacks while logging LD_NOCB messages.•••Found by boboper. Robert Ransom2010-12-11
| * | Better fix for 2190: defer libevent->controller messages instead of droppingNick Mathewson2010-11-19
| * | Do not send Libevent log messages to a controller.•••Doing so could make Libevent call Libevent from inside a Libevent logging call, which is a recipe for reentrant confusion and hard-to-debug crashes. This would especially hurt if Libevent debug-level logging is enabled AND the user has a controller watching for low-severity log messages. Fix bug 2190; fix on 0.1.0.2-rc. Nick Mathewson2010-11-19
* | | Open log files with CLOEXEC flag setSteven Murdoch2010-12-01
* | | Make logging resolution configurable.•••Implements enhancement 1668. Karsten Loesing2010-10-04
|/ /
* | Rename log.h to torlog.h•••This should make us conflict less with system files named "log.h". Yes, we shouldn't have been conflicting with those anyway, but some people's compilers act very oddly. The actual change was done with one "git mv", by editing Makefile.am, and running find . -name '*.[ch]' | xargs perl -i -pe 'if (/^#include.*\Wlog.h/) {s/log.h/torlog.h/; }' Nick Mathewson2010-07-09
* | Merge remote branch 'origin/maint-0.2.1'•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2010-02-27
|\|
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
* | Don't unlock a new log until done logging the tor version.•••This might please coverity scan. Nick Mathewson2010-01-25
* | Refactor a bit so that it is safe to include math.h, and mostly not needed.Nick Mathewson2009-12-15
* | *_free functions now accept NULL•••Some *_free functions threw asserts when passed NULL. Now all of them accept NULL as input and perform no action when called that way. This gains us consistence for our free functions, and allows some code simplifications where an explicit null check is no longer necessary. Sebastian Hahn2009-12-12
* | add a minimum for CircuitStreamTimeout, plus a man page•••plus some other unrelated touchups that have been sitting in my sandbox Roger Dingledine2009-11-22
* | Debugging logs for TLS handshake•••The big change is to add a function to display the current SSL handshake state, and to log it everywhere reasonable. (A failure in SSL23_ST_CR_SRVR_HELLO_A is different from one in SSL3_ST_CR_SESSION_TICKET_A.) This patch also adds a new log domain for OR handshaking, so you can pull out all the handshake log messages without having to run at debug for everything. For example, you'd just say "log notice-err [handshake]debug-err file tor.log". Nick Mathewson2009-09-24
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-09-01
|\|
| * Fix compile warnings on Snow Leopard•••Big thanks to nickm and arma for helping me with this! Sebastian Hahn2009-09-01
* | Merge branch 'maint-0.2.1'Roger Dingledine2009-08-27
|\|
| * Fix a rare infinite-recursion bug when shutting down.•••Once we had called log_free_all(), anything that tried to log a message (like a failed tor_assert()) would fail like this: 1. The logging call eventually invokes the _log() function. 2. _log() calls tor_mutex_lock(log_mutex). 3. tor_mutex_lock(m) calls tor_assert(m). 4. Since we freed the log_mutex, tor_assert() fails, and tries to log its failure. 5. GOTO 1. Now we allocate the mutex statically, and never destroy it on shutdown. Bugfix on 0.2.0.16-alpha, which introduced the log mutex. This bug was found by Matt Edman. Nick Mathewson2009-08-20
| * Update copyright to 2009.Karsten Loesing2009-05-04
* | Update Tor to use Libevent 2.0 APIs when available.•••This patch adds a new compat_libevent.[ch] set of files, and moves our Libevent compatibility and utilitity functions there. We build them into a separate .a so that nothing else in src/commmon depends on Libevent (partially fixing bug 507). Also, do not use our own built-in evdns copy when we have Libevent 2.0, whose evdns is finally good enough (thus fixing Bug 920). Nick Mathewson2009-06-12
* | Update copyright to 2009.Karsten Loesing2009-05-02
|/
* Fix typo found by Justin Coffi on or-talk•••svn:r18258 Nick Mathewson2009-01-23
* Remove svn $Id$s from our source, and remove tor --version --version.•••The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867 Nick Mathewson2009-01-04
* Remove some code that is #ifdefed out, and that we no longer seem to use, if ...•••svn:r17827 Nick Mathewson2008-12-30
* Make freelist_len in memarea.c static; document a few variables.•••svn:r17741 Nick Mathewson2008-12-22
* Add DOCDOC entries for undocumented static and global variables.•••svn:r17739 Nick Mathewson2008-12-22
* Fix most DOCDOCs remaining and/or added by redox.•••svn:r17734 Nick Mathewson2008-12-22
* One log.c XXX021 was a misunderstanding. Also, clip log messages passed to s...•••svn:r17688 Nick Mathewson2008-12-18
* Resolve many DOCDOCs.•••svn:r17662 Nick Mathewson2008-12-17
* Change logging code to use fds instead of stdio. Fixes bug 861, and probably...•••svn:r17456 Nick Mathewson2008-12-02