aboutsummaryrefslogtreecommitdiff
path: root/src/common/log.c
Commit message (Collapse)AuthorAge
* 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
* remove another possible sigpipe causeRoger Dingledine2004-11-20
| | | | svn:r2912
* Make log_fn not fail so miserably on VC6Nick Mathewson2004-11-15
| | | | svn:r2896
* ugly macros to make log_fn play nice on non-GCC compilers.Nick Mathewson2004-11-15
| | | | svn:r2894
* Fix "implicit declaration of ftello" warning: add AC_FUNC_FSEEKO in ↵Nick Mathewson2004-11-14
| | | | | | configure.in and always include orconfig.h before anything else svn:r2854
* remove redundant stdio.hRoger Dingledine2004-11-14
| | | | | | | i guess that wasn't the fix svn:r2849
* clean up the ftello call a little bit.Roger Dingledine2004-11-14
| | | | | | | | but i'm still getting: log.c:94: warning: implicit declaration of function `ftello' svn:r2848
* Use autoconf to enable largefile support where necessary. Use ftello where ↵Nick Mathewson2004-11-12
| | | | | | available, since ftell can fail at 2GB. svn:r2806
* Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵Nick Mathewson2004-11-09
| | | | | | target; fix a braino in dirserv.c svn:r2758
* various fixesRoger Dingledine2004-11-09
| | | | svn:r2712
* Use new log format; convert old format to new format.Nick Mathewson2004-11-05
| | | | svn:r2684
* fix typosNick Mathewson2004-11-03
| | | | svn:r2666
* Add a callback log handler typeNick Mathewson2004-11-03
| | | | svn:r2658
* Tricksy compiler warnings! We hates them, hates them forever, my precious!Nick Mathewson2004-10-27
| | | | svn:r2615
* Use tor_snprintf, not snprintfNick Mathewson2004-10-27
| | | | svn:r2609
* Replace sprintf with snprintfNick Mathewson2004-10-27
| | | | svn:r2602
* Add SysLog option to direct log messages to the system log instead of a FILE*.Nick Mathewson2004-10-26
| | | | svn:r2591
* don't assert multiple things in the same tor_assert()Roger Dingledine2004-10-16
| | | | svn:r2545
* make our tor_assert actually work when it's going to be triggered,Roger Dingledine2004-09-23
| | | | | | | rather than seg fault svn:r2368
* bugfix on the bugfixRoger Dingledine2004-09-23
| | | | | | | | | actually unlink the log entry. ok, that wasn't cleverly hidden enough. let's try again. svn:r2367
* bugfix: when we run out of disk space, or other log writing error,Roger Dingledine2004-09-23
| | | | | | | | | don't crash. just stop logging to that log and continue. nick, can you find the bug i've cleverly hidden in this commit? svn:r2365
* tweak the [...truncated] string againRoger Dingledine2004-08-18
| | | | svn:r2289
* don't add a spurious newline before [truncated]Roger Dingledine2004-08-18
| | | | svn:r2282