aboutsummaryrefslogtreecommitdiff
path: root/src/common/log.c
Commit message (Collapse)AuthorAge
* 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
* End truncated log entries with [truncated]Nick Mathewson2004-08-15
| | | | svn:r2235
* trivial punctuation tweakRoger Dingledine2004-07-12
| | | | svn:r2027
* Always log version when starting tor.Nick Mathewson2004-06-30
| | | | svn:r1990
* Implement several 008pre1 items: needs more testingNick Mathewson2004-06-21
| | | | svn:r1981
* Stop multiplying logs on sighup.Nick Mathewson2004-06-02
| | | | svn:r1936
* it looks like parse_log_level() was never taught about WARN?Roger Dingledine2004-05-21
| | | | svn:r1917
* Tinker with log behavior: never send error messages about logs into the ↵Nick Mathewson2004-05-20
| | | | | | bitbucket svn:r1912
* Allow multiple logfiles at different severity rangesNick Mathewson2004-05-19
| | | | svn:r1899
* it's amazing what a bit of punctuation can do for appearancesRoger Dingledine2004-05-10
| | | | svn:r1843
* Doxygenate common.Nick Mathewson2004-05-10
| | | | svn:r1829
* Make Tor build on win32 with VC6 without warnings.Nick Mathewson2004-04-28
| | | | svn:r1739
* Document stuff, reduce magic numbers, add emacs magicNick Mathewson2004-04-06
| | | | svn:r1502
* Make "common" no longer depend on or.hNick Mathewson2004-04-03
| | | | svn:r1466