aboutsummaryrefslogtreecommitdiff
path: root/src/common/log.c
Commit message (Collapse)AuthorAge
...
* Remove some code that is #ifdefed out, and that we no longer seem to use, if ↵Nick Mathewson2008-12-30
| | | | | | we ever did. svn:r17827
* Make freelist_len in memarea.c static; document a few variables.Nick Mathewson2008-12-22
| | | | svn:r17741
* Add DOCDOC entries for undocumented static and global variables.Nick Mathewson2008-12-22
| | | | svn:r17739
* Fix most DOCDOCs remaining and/or added by redox.Nick Mathewson2008-12-22
| | | | svn:r17734
* One log.c XXX021 was a misunderstanding. Also, clip log messages passed to ↵Nick Mathewson2008-12-18
| | | | | | syslog to their maximum length when there is a maximum. svn:r17688
* Resolve many DOCDOCs.Nick Mathewson2008-12-17
| | | | svn:r17662
* Change logging code to use fds instead of stdio. Fixes bug 861, and ↵Nick Mathewson2008-12-02
| | | | | | probably makes logging slightly faster. Not a backport candidate: bug 861 is too obscure and harmless. svn:r17456
* Update _log_global_min_severity after switch_logs_debug(), so that USR2 will ↵Nick Mathewson2008-11-17
| | | | | | work again. Bugfix on 0.1.2.8-beta. Spotted by Geoff Down. svn:r17317
* More logging for mtbf/wfu calculations.Nick Mathewson2008-09-23
| | | | svn:r16941
* Make severity args to add_*_log() functions be constNick Mathewson2008-09-05
| | | | svn:r16775
* Add --hush switch.Peter Palfrader2008-03-27
| | | | | | | | | 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
* r19089@catbus: nickm | 2008-03-27 11:05:23 -0400Nick Mathewson2008-03-27
| | | | | | | Free some static hashtables and the log mutex on exit. Backport candidate. svn:r14212
* fix a leak when adding a temp logRoger Dingledine2008-03-26
| | | | svn:r14203
* fix mem leak in parsing log config linesRoger Dingledine2008-03-26
| | | | svn:r14202
* r18861@catbus: nickm | 2008-03-16 23:22:56 -0400Nick Mathewson2008-03-17
| | | | | | | Fix a couple of bugs in setting control log callback severity. svn:r14065
* r18804@catbus: nickm | 2008-03-13 18:18:31 -0400Nick Mathewson2008-03-13
| | | | | | | Refactor log domain mask code so that nobody outside of log.c has to use SEVERITY_MASK_IDX. It is error-prone. svn:r14016
* r18803@catbus: nickm | 2008-03-13 17:59:25 -0400Nick Mathewson2008-03-13
| | | | | | | Fix behavior of switch_logs_debug() in trunk. Fixes bug 626. Bugfix on r13875. svn:r14015
* Assert that severity in logv() is sane. Interesting effects otherwise (It ↵Peter Palfrader2008-03-13
| | | | | | is being used as an array index) svn:r14006
* r18753@catbus: nickm | 2008-03-11 14:56:39 -0400Nick Mathewson2008-03-11
| | | | | | | Make some assert()s into tor_assert()s. Make some tor_assert()s called from logging into assert()s, and document why. svn:r13977
* r18639@catbus: nickm | 2008-03-07 20:11:48 -0500Nick Mathewson2008-03-08
| | | | | | | 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
* r18630@catbus: nickm | 2008-03-05 17:31:33 -0500Nick Mathewson2008-03-05
| | | | | | | 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
* r14373@tombo: nickm | 2008-02-21 16:29:18 -0500Nick Mathewson2008-02-21
| | | | | | | Apply warnings about implicit 64-to-32 conversions; some from Sebastian Hahn; some not. svn:r13664
* Update some copyright notices: it is now 2008.Nick Mathewson2008-02-07
| | | | svn:r13412
* r17947@catbus: nickm | 2008-02-06 11:57:53 -0500Nick Mathewson2008-02-06
| | | | | | | Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items. svn:r13405
* r15784@tombo: nickm | 2008-01-02 00:38:06 -0500Nick Mathewson2008-01-02
| | | | | | | 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
* clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine2007-12-12
| | | | svn:r12786
* free some more memory on exitRoger Dingledine2007-07-16
| | | | svn:r10837
* r13058@catbus: nickm | 2007-05-29 14:39:53 -0400Nick Mathewson2007-05-29
| | | | | | | Note that the fix for bug 222 should technically be turned into a real fix, not a kludge, one of these days. svn:r10397
* r13054@catbus: nickm | 2007-05-29 14:20:50 -0400Nick Mathewson2007-05-29
| | | | | | | An even better workaround for the probably-already-fixed bug 222. svn:r10395
* r13050@catbus: nickm | 2007-05-29 13:31:11 -0400Nick Mathewson2007-05-29
| | | | | | | Resolve all but 3 DOCDOCs. svn:r10393
* r12852@catbus: nickm | 2007-05-22 11:00:27 -0400Nick Mathewson2007-05-22
| | | | | | | Use svn revisions consistently throughout all log messages. svn:r10291
* polish r9726-r9903Roger Dingledine2007-05-13
| | | | svn:r10182
* r12607@catbus: nickm | 2007-04-30 21:36:28 -0400Nick Mathewson2007-05-01
| | | | | | | More attempt to fix win32 building. This time, with extra linking. svn:r10080
* r12533@Kushana: nickm | 2007-03-11 05:01:15 -0400Nick Mathewson2007-03-11
| | | | | | | Oh. Tor was supposed to compile? svn:r9797
* r12076@catbus: nickm | 2007-03-04 15:41:04 -0500Nick Mathewson2007-03-04
| | | | | | | oops; remove spurious argument from _log_prefix. svn:r9734
* r12074@catbus: nickm | 2007-03-04 15:11:43 -0500Nick Mathewson2007-03-04
| | | | | | | Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.) svn:r9733
* r11860@catbus: nickm | 2007-02-21 00:56:15 -0500Nick Mathewson2007-02-21
| | | | | | | Another optimization suggested by Shark output: shave off >90% of uses of logv by cutting down on calls to log_debug when log actually debugging. This is showing up in some profiles bug not others, and might be as much as 2.5%. svn:r9612
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson2007-02-12
| | | | | | | Update copyright dates. svn:r9570
* r11624@catbus: nickm | 2007-02-01 13:17:35 -0500Nick Mathewson2007-02-01
| | | | | | | Note a few questionable bits pointed out by RATS. (And no, RATS, I'm not about to stop having fixed-sized local buffers for you. I know how to use them, thankyouverymuch.) svn:r9474
* help ftello find its prototypeRoger Dingledine2006-12-02
| | | | svn:r9016
* more minor cleanupsRoger Dingledine2006-10-07
| | | | svn:r8630
* r9008@Kushana: nickm | 2006-09-29 13:50:10 -0400Nick Mathewson2006-09-29
| | | | | | | Doxygen comments for code in common. Also simplify a few code paths to be more clear/speedy/correct. svn:r8536
* r9006@Kushana: nickm | 2006-09-29 10:48:23 -0400Nick Mathewson2006-09-29
| | | | | | | Omit function names from NOTICE, WARN and ERR messages unless they are in LD_BUG. svn:r8534
* Bandaid for a seg fault i just got in 0.1.1.20.Roger Dingledine2006-06-09
| | | | | | | More generally, i reopened bug 222. Whee. svn:r6571
* Fix bug in close_logs(): when we close and delete logs, remove them all from ↵Nick Mathewson2006-03-13
| | | | | | the global "logfiles" list. This should fix bug 222. svn:r6145
* Add function names to log_* on non-gccPeter Palfrader2006-02-18
| | | | svn:r6039
* Finish log function renaming for non-GNUC systemsPeter Palfrader2006-02-18
| | | | svn:r6034
* Happy new year!Roger Dingledine2006-02-09
| | | | svn:r5949
* Apply Matt Ghali's --with-syslog-facility patchPeter Palfrader2006-02-01
| | | | svn:r5883
* Fix bug 230: add a rollback function to reverse all changes since the last ↵Nick Mathewson2006-01-11
| | | | | | mark_logs_temp(), and move log initialization into the two-phase part of option setting. svn:r5803