- 12 Dec, 2009 1 commit
-
-
Sebastian Hahn authored
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.
-
- 22 Nov, 2009 1 commit
-
-
Roger Dingledine authored
plus some other unrelated touchups that have been sitting in my sandbox
-
- 24 Sep, 2009 1 commit
-
-
Nick Mathewson authored
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".
-
- 01 Sep, 2009 1 commit
-
-
Sebastian Hahn authored
Big thanks to nickm and arma for helping me with this!
-
- 20 Aug, 2009 1 commit
-
-
Nick Mathewson authored
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.
-
- 12 Jun, 2009 1 commit
-
-
Nick Mathewson authored
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).
-
- 04 May, 2009 1 commit
-
-
- 02 May, 2009 1 commit
-
-
Karsten Loesing authored
-
- 23 Jan, 2009 1 commit
-
-
Nick Mathewson authored
svn:r18258
-
- 04 Jan, 2009 1 commit
-
-
Nick Mathewson authored
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
-
- 30 Dec, 2008 1 commit
-
-
Nick Mathewson authored
svn:r17827
-
- 22 Dec, 2008 3 commits
-
-
Nick Mathewson authored
svn:r17741
-
Nick Mathewson authored
svn:r17739
-
Nick Mathewson authored
svn:r17734
-
- 18 Dec, 2008 1 commit
-
-
Nick Mathewson authored
One log.c XXX021 was a misunderstanding. Also, clip log messages passed to syslog to their maximum length when there is a maximum. svn:r17688
-
- 17 Dec, 2008 1 commit
-
-
Nick Mathewson authored
svn:r17662
-
- 02 Dec, 2008 1 commit
-
-
Nick Mathewson authored
Change logging code to use fds instead of stdio. Fixes bug 861, and probably makes logging slightly faster. Not a backport candidate: bug 861 is too obscure and harmless. svn:r17456
-
- 17 Nov, 2008 1 commit
-
-
Nick Mathewson authored
Update _log_global_min_severity after switch_logs_debug(), so that USR2 will work again. Bugfix on 0.1.2.8-beta. Spotted by Geoff Down. svn:r17317
-
- 23 Sep, 2008 1 commit
-
-
Nick Mathewson authored
svn:r16941
-
- 05 Sep, 2008 1 commit
-
-
Nick Mathewson authored
svn:r16775
-
- 27 Mar, 2008 2 commits
-
-
Peter Palfrader authored
New --hush command-line option similar to --quiet. While --quiet disables all logging to the console on startup, --hush limits the output to messages of warning and error severity. svn:r14222
-
Nick Mathewson authored
Free some static hashtables and the log mutex on exit. Backport candidate. svn:r14212
-
- 26 Mar, 2008 2 commits
-
-
Roger Dingledine authored
svn:r14203
-
Roger Dingledine authored
svn:r14202
-
- 17 Mar, 2008 1 commit
-
-
Nick Mathewson authored
Fix a couple of bugs in setting control log callback severity. svn:r14065
-
- 13 Mar, 2008 3 commits
-
-
Nick Mathewson authored
Refactor log domain mask code so that nobody outside of log.c has to use SEVERITY_MASK_IDX. It is error-prone. svn:r14016
-
Nick Mathewson authored
Fix behavior of switch_logs_debug() in trunk. Fixes bug 626. Bugfix on r13875. svn:r14015
-
Peter Palfrader authored
Assert that severity in logv() is sane. Interesting effects otherwise (It is being used as an array index) svn:r14006
-
- 11 Mar, 2008 1 commit
-
-
Nick Mathewson authored
Make some assert()s into tor_assert()s. Make some tor_assert()s called from logging into assert()s, and document why. svn:r13977
-
- 08 Mar, 2008 1 commit
-
-
Nick Mathewson authored
Change semantics of add-a-log functions to copy severity setup: that is way less error-prone. Fix up config.c to act accordingly. svn:r13888
-
- 05 Mar, 2008 1 commit
-
-
Nick Mathewson authored
Implement domain-selection for logging. Source is documented; needs documentation in manpage (maybe). For now, see doxygen comment on parse_log_severity_config in log.c svn:r13875
-
- 21 Feb, 2008 1 commit
-
-
Nick Mathewson authored
Apply warnings about implicit 64-to-32 conversions; some from Sebastian Hahn; some not. svn:r13664
-
- 07 Feb, 2008 1 commit
-
-
Nick Mathewson authored
svn:r13412
-
- 06 Feb, 2008 1 commit
-
-
Nick Mathewson authored
Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items. svn:r13405
-
- 02 Jan, 2008 1 commit
-
-
Nick Mathewson authored
Fix bug 575: protect the list of logs with a mutex. I couldn't find any appreciable change in logging performance on osx, but ymmv. You can undef USE_LOG_MUTEX to see if stuff gets faster for you. svn:r13019
-
- 12 Dec, 2007 1 commit
-
-
Roger Dingledine authored
svn:r12786
-
- 16 Jul, 2007 1 commit
-
-
Roger Dingledine authored
svn:r10837
-
- 29 May, 2007 3 commits
-
-
Nick Mathewson authored
Note that the fix for bug 222 should technically be turned into a real fix, not a kludge, one of these days. svn:r10397
-
Nick Mathewson authored
An even better workaround for the probably-already-fixed bug 222. svn:r10395
-
Nick Mathewson authored
Resolve all but 3 DOCDOCs. svn:r10393
-