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