aboutsummaryrefslogtreecommitdiff
path: root/src/common/log.h
AgeCommit message (Collapse)Author
2008-12-29Use a consistent naming standard for header file guard macros, taking care ↵Nick Mathewson
not to collide with any system headers. This tripped us up on Android. svn:r17805
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-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-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-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-07Update some copyright notices: it is now 2008.Nick Mathewson
svn:r13412
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-08-08 r14093@catbus: nickm | 2007-08-08 01:49:54 -0400Nick Mathewson
Include fewer redundant headers; use the compiler search paths better. svn:r11060
2007-07-16free some more memory on exitRoger Dingledine
svn:r10837
2007-06-17 r13477@catbus: nickm | 2007-06-17 14:22:03 -0400Nick Mathewson
Sun CC likes to give warnings for the do { } while(0) construction for making statement-like macros. Define STMT_BEGIN/STMT_END macros that do the right thing, and use them everywhere. svn:r10645
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-03-06 r12468@Kushana: nickm | 2007-03-06 15:24:00 -0500Nick Mathewson
More unit tests: gcov is fun. svn:r9748
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-05 r11639@catbus: nickm | 2007-02-05 13:33:38 -0500Nick Mathewson
Add documentation to src/common/*.h; improve documentation for SMARTLIST_FOREACH; remove never-used options and corresponding tests from tor_strpartition. svn:r9483
2007-02-02 r11629@catbus: nickm | 2007-02-02 15:06:17 -0500Nick Mathewson
Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch! svn:r9477
2006-04-18mainline branch. Remove some more dead XXXs.Nick Mathewson
svn:r6401
2006-03-13Instead of listing a set of compilers that prefers __func__ to __FUNCTION__, ↵Nick Mathewson
use autoconf. Also, prefer __func__ in our own code: __func__ is a C99 standard, whereas __FUNCTION__ is not. [Fixes bug 254.] svn:r6144
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-13Start the process of converting warn to log_warn and so on.Roger Dingledine
This is needed because Windows already has an err() that we can't clobber. And we need to be able to make the log functions a macro so we can print the function's name in the log entry. svn:r6000
2006-02-09Happy new year!Roger Dingledine
svn:r5949
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 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-01using an unsigned int for something that requires at least 3 bytesRoger Dingledine
makes me uncomfortable. svn:r5340
2005-10-25Remove last vestiges of old logging interface.Nick Mathewson
svn:r5317
2005-10-25consistency is the hobgoblin of little armasRoger Dingledine
svn:r5316
2005-10-25Switch remaining files to new log interface.Nick Mathewson
svn:r5315
2005-10-25Fix log levels notice and warn for new logging stuffPeter Palfrader
svn:r5313
2005-10-25Change more files to new loggin interface. 3 left.Nick Mathewson
svn:r5310
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-24add more domainsNick Mathewson
svn:r5300
2005-10-24Check for even more windows version flags, and note any we do not recognize.Nick Mathewson
svn:r5297
2005-10-18Update more files to new log stuff.Nick Mathewson
svn:r5286
2005-10-18Migrate a few more files to domained loggingNick Mathewson
svn:r5285
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-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-09New whitespace normalization rule: no blank line at EOF.Nick Mathewson
svn:r4378
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-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
2004-11-30doxygen uses backslashes, not forward-slashesNick Mathewson
svn:r3033
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson
every file. svn:r3019