aboutsummaryrefslogtreecommitdiff
path: root/src/common/log.c
Commit message (Collapse)AuthorAge
* 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
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson2005-12-14
| | | | | | intended. svn:r5582
* Remove some functions that were around for hupping log files. We handleRoger Dingledine2005-11-30
| | | | | | | | them already in do_hup() by marking our log files as temporary and then rotating them in options_init_from_torrc(). svn:r5473
* Fix some verbose warnings and remove an unneeded include.Nick Mathewson2005-11-30
| | | | svn:r5472
* remove some functions that are not used; #if0 out some files that are not ↵Nick Mathewson2005-11-30
| | | | | | likely to be used. svn:r5471
* Make new logging stuff work on windows; fix a couple of windows typos.Nick Mathewson2005-11-15
| | | | svn:r5375
* When logging via syslog, include the pid whenever we provideRoger Dingledine2005-11-13
| | | | | | | a log entry. Suggested by Todd Fries. svn:r5366
* using an unsigned int for something that requires at least 3 bytesRoger Dingledine2005-11-01
| | | | | | | makes me uncomfortable. svn:r5340
* Also here.Nick Mathewson2005-10-25
| | | | svn:r5314
* Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" ↵Nick Mathewson2005-10-25
| | | | | | domain. Domains are now bitmasks... just in case. Make some err msgs non-general. svn:r5309
* Start dividing log messages into logging domains. No, LD_ is not the best ↵Nick Mathewson2005-10-18
| | | | | | of identifiers. src/or has not been converted yet. Domains dont do anything yet. svn:r5284
* Reformat inconsistent function declarations.Nick Mathewson2005-09-30
| | | | svn:r5160
* Add a bunch more warnings to out warning suite; resolve them; pack structs a ↵Nick Mathewson2005-09-29
| | | | | | little better. svn:r5150
* Make GCC very happy, even with lots of warnings set. Also, try to fix some ↵Nick Mathewson2005-08-12
| | | | | | reported Solaris x86 warnings. svn:r4770
* disarm a trap that's lying in wait for usRoger Dingledine2005-08-08
| | | | svn:r4741
* flesh out the source file descriptions for doxygenRoger Dingledine2005-06-11
| | | | svn:r4404
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* Remove extraneous newlines from libevent log messages. Backport candidate?Nick Mathewson2005-06-08
| | | | svn:r4350
* Make libevent_logging_callback static.Nick Mathewson2005-04-08
| | | | svn:r4058
* Revise control spec and implementation to allow all log messages to be sent ↵Nick Mathewson2005-04-05
| | | | | | to controller with their severities intact. svn:r4010
* update copyright notices.Nick Mathewson2005-04-01
| | | | svn:r3982
* fix typo in earlier libevent mmessage suppress patchNick Mathewson2005-04-01
| | | | svn:r3950
* Add code to suppress spurious libevent log msgs; use it to resolve bug 68.Nick Mathewson2005-04-01
| | | | svn:r3948
* Use recent libevent features when possibleNick Mathewson2005-04-01
| | | | svn:r3940
* Commit fixes for several pending tor core tasks: document all DOCDOCed ↵Nick Mathewson2005-03-17
| | | | | | 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
* Patch to localtime/gmtime handling: use the _r variants where available. ↵Nick Mathewson2005-02-22
| | | | | | Use mutexes to fake _r where necessary. Make mutexes no-ops where no threading is enabled. svn:r3653
* make the initial temp log only notice-err, not info-errRoger Dingledine2005-01-04
| | | | svn:r3274
* fix an assert on startup when the disk is full and you're logging to a fileRoger Dingledine2004-12-22
| | | | svn:r3204
* clarify why strlcpy is safe in truncated log messagesNick Mathewson2004-11-30
| | | | svn:r3032
* Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson2004-11-29
| | | | | | every file. svn:r3019
* Remove needless -2 in log code. This was not an underflow risk, sinze we ↵Nick Mathewson2004-11-29
| | | | | | only call format_msg from one place, where buf_len==10024 svn:r3017
* clean up the previous underflow check, and also point outRoger Dingledine2004-11-29
| | | | | | | yet another one that may be a problem. nick? svn:r3016
* prevent integer underflowRoger Dingledine2004-11-29
| | | | | | | (not currently exploitable, ilja and i think) svn:r3010
* wrong is ok, and right is fine, but in between is apparentlyRoger Dingledine2004-11-28
| | | | | | | totally unacceptable to me. svn:r3005
* Normalize space: add one between every control keyword and control clause.Nick Mathewson2004-11-28
| | | | svn:r3003
* remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine2004-11-26
| | | | svn:r2989
* Flush the logfd after we print "Tor opening log file", so we don't see those ↵Peter Palfrader2004-11-24
| | | | | | messages days later svn:r2980
* and a comment so i don't try to 'fix' it again laterRoger Dingledine2004-11-20
| | | | svn:r2919
* yes, in fact, i broke it. putting back.Roger Dingledine2004-11-20
| | | | svn:r2918
* kill -USR2 now moves all logs to loglevel debugRoger Dingledine2004-11-20
| | | | | | | plus fix some typos svn:r2914
* simplify close_temp_logs()Roger Dingledine2004-11-20
| | | | | | | (nick, did i break this?) svn:r2913