summaryrefslogtreecommitdiff
path: root/src/common/log.c
AgeCommit message (Collapse)Author
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
2005-12-14Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson
intended. svn:r5582
2005-11-30Remove some functions that were around for hupping log files. We handleRoger Dingledine
them already in do_hup() by marking our log files as temporary and then rotating them in options_init_from_torrc(). svn:r5473
2005-11-30Fix some verbose warnings and remove an unneeded include.Nick Mathewson
svn:r5472
2005-11-30remove some functions that are not used; #if0 out some files that are not ↵Nick Mathewson
likely to be used. svn:r5471
2005-11-15Make new logging stuff work on windows; fix a couple of windows typos.Nick Mathewson
svn:r5375
2005-11-13When logging via syslog, include the pid whenever we provideRoger Dingledine
a log entry. Suggested by Todd Fries. svn:r5366
2005-11-01using an unsigned int for something that requires at least 3 bytesRoger Dingledine
makes me uncomfortable. svn:r5340
2005-10-25Also here.Nick Mathewson
svn:r5314
2005-10-25Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" ↵Nick Mathewson
domain. Domains are now bitmasks... just in case. Make some err msgs non-general. svn:r5309
2005-10-18Start dividing log messages into logging domains. No, LD_ is not the best ↵Nick Mathewson
of identifiers. src/or has not been converted yet. Domains dont do anything yet. svn:r5284
2005-09-30Reformat inconsistent function declarations.Nick Mathewson
svn:r5160
2005-09-29Add a bunch more warnings to out warning suite; resolve them; pack structs a ↵Nick Mathewson
little better. svn:r5150
2005-08-12Make GCC very happy, even with lots of warnings set. Also, try to fix some ↵Nick Mathewson
reported Solaris x86 warnings. svn:r4770
2005-08-08disarm a trap that's lying in wait for usRoger Dingledine
svn:r4741
2005-06-11flesh out the source file descriptions for doxygenRoger Dingledine
svn:r4404
2005-06-09Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson
svn:r4382
2005-06-08Remove extraneous newlines from libevent log messages. Backport candidate?Nick Mathewson
svn:r4350
2005-04-08Make libevent_logging_callback static.Nick Mathewson
svn:r4058
2005-04-05Revise control spec and implementation to allow all log messages to be sent ↵Nick Mathewson
to controller with their severities intact. svn:r4010
2005-04-01update copyright notices.Nick Mathewson
svn:r3982
2005-04-01fix typo in earlier libevent mmessage suppress patchNick Mathewson
svn:r3950
2005-04-01Add code to suppress spurious libevent log msgs; use it to resolve bug 68.Nick Mathewson
svn:r3948
2005-04-01Use recent libevent features when possibleNick Mathewson
svn:r3940
2005-03-17Commit fixes for several pending tor core tasks: document all DOCDOCed ↵Nick Mathewson
functions; time out uncontrolled unattached streams; feed reasons to SOCKS5 (refactoring connection_ap_handshake_socks_reply in the process); change DirFetchPeriod/StatusFetchPeriod to have a special "Be smart" value. svn:r3769