summaryrefslogtreecommitdiff
path: root/src/common/log.c
AgeCommit message (Collapse)Author
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
2004-11-14clean up the ftello call a little bit.Roger Dingledine
but i'm still getting: log.c:94: warning: implicit declaration of function `ftello' svn:r2848
2004-11-12Use autoconf to enable largefile support where necessary. Use ftello where ↵Nick Mathewson
available, since ftell can fail at 2GB. svn:r2806
2004-11-09Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵Nick Mathewson
target; fix a braino in dirserv.c svn:r2758
2004-11-09various fixesRoger Dingledine
svn:r2712
2004-11-05Use new log format; convert old format to new format.Nick Mathewson
svn:r2684
2004-11-03fix typosNick Mathewson
svn:r2666
2004-11-03Add a callback log handler typeNick Mathewson
svn:r2658
2004-10-27Tricksy compiler warnings! We hates them, hates them forever, my precious!Nick Mathewson
svn:r2615
2004-10-27Use tor_snprintf, not snprintfNick Mathewson
svn:r2609
2004-10-27Replace sprintf with snprintfNick Mathewson
svn:r2602
2004-10-26Add SysLog option to direct log messages to the system log instead of a FILE*.Nick Mathewson
svn:r2591
2004-10-16don't assert multiple things in the same tor_assert()Roger Dingledine
svn:r2545
2004-09-23make our tor_assert actually work when it's going to be triggered,Roger Dingledine
rather than seg fault svn:r2368
2004-09-23bugfix on the bugfixRoger Dingledine
actually unlink the log entry. ok, that wasn't cleverly hidden enough. let's try again. svn:r2367
2004-09-23bugfix: when we run out of disk space, or other log writing error,Roger Dingledine
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
2004-08-18tweak the [...truncated] string againRoger Dingledine
svn:r2289
2004-08-18don't add a spurious newline before [truncated]Roger Dingledine
svn:r2282
2004-08-15End truncated log entries with [truncated]Nick Mathewson
svn:r2235
2004-07-12trivial punctuation tweakRoger Dingledine
svn:r2027
2004-06-30Always log version when starting tor.Nick Mathewson
svn:r1990
2004-06-21Implement several 008pre1 items: needs more testingNick Mathewson
svn:r1981
2004-06-02Stop multiplying logs on sighup.Nick Mathewson
svn:r1936
2004-05-21it looks like parse_log_level() was never taught about WARN?Roger Dingledine
svn:r1917
2004-05-20Tinker with log behavior: never send error messages about logs into the ↵Nick Mathewson
bitbucket svn:r1912
2004-05-19Allow multiple logfiles at different severity rangesNick Mathewson
svn:r1899
2004-05-10it's amazing what a bit of punctuation can do for appearancesRoger Dingledine
svn:r1843
2004-05-10Doxygenate common.Nick Mathewson
svn:r1829
2004-04-28Make Tor build on win32 with VC6 without warnings.Nick Mathewson
svn:r1739
2004-04-06Document stuff, reduce magic numbers, add emacs magicNick Mathewson
svn:r1502
2004-04-03Make "common" no longer depend on or.hNick Mathewson
svn:r1466