summaryrefslogtreecommitdiff
path: root/src/common/log.c
AgeCommit message (Collapse)Author
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
2005-02-22Patch to localtime/gmtime handling: use the _r variants where available. ↵Nick Mathewson
Use mutexes to fake _r where necessary. Make mutexes no-ops where no threading is enabled. svn:r3653
2005-01-04make the initial temp log only notice-err, not info-errRoger Dingledine
svn:r3274
2004-12-22fix an assert on startup when the disk is full and you're logging to a fileRoger Dingledine
svn:r3204
2004-11-30clarify why strlcpy is safe in truncated log messagesNick Mathewson
svn:r3032
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson
every file. svn:r3019
2004-11-29Remove needless -2 in log code. This was not an underflow risk, sinze we ↵Nick Mathewson
only call format_msg from one place, where buf_len==10024 svn:r3017
2004-11-29clean up the previous underflow check, and also point outRoger Dingledine
yet another one that may be a problem. nick? svn:r3016
2004-11-29prevent integer underflowRoger Dingledine
(not currently exploitable, ilja and i think) svn:r3010
2004-11-28wrong is ok, and right is fine, but in between is apparentlyRoger Dingledine
totally unacceptable to me. svn:r3005
2004-11-28Normalize space: add one between every control keyword and control clause.Nick Mathewson
svn:r3003
2004-11-26remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine
svn:r2989
2004-11-24Flush the logfd after we print "Tor opening log file", so we don't see those ↵Peter Palfrader
messages days later svn:r2980
2004-11-20and a comment so i don't try to 'fix' it again laterRoger Dingledine
svn:r2919
2004-11-20yes, in fact, i broke it. putting back.Roger Dingledine
svn:r2918
2004-11-20kill -USR2 now moves all logs to loglevel debugRoger Dingledine
plus fix some typos svn:r2914
2004-11-20simplify close_temp_logs()Roger Dingledine
(nick, did i break this?) svn:r2913
2004-11-20remove another possible sigpipe causeRoger Dingledine
svn:r2912
2004-11-15Make log_fn not fail so miserably on VC6Nick Mathewson
svn:r2896
2004-11-15ugly macros to make log_fn play nice on non-GCC compilers.Nick Mathewson
svn:r2894
2004-11-14Fix "implicit declaration of ftello" warning: add AC_FUNC_FSEEKO in ↵Nick Mathewson
configure.in and always include orconfig.h before anything else svn:r2854
2004-11-14remove redundant stdio.hRoger Dingledine
i guess that wasn't the fix svn:r2849