summaryrefslogtreecommitdiff
path: root/src/common/log.c
AgeCommit message (Collapse)Author
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
2004-04-03Refactor the heck out of crypto interface: admit that we will stick with one ↵Nick Mathewson
ciphersuite at a time, make const things const, and stop putting openssl in the headers. svn:r1458
2004-03-30add in a 'notice' log levelRoger Dingledine
svn:r1383
2004-03-14crash when our logs go badRoger Dingledine
nick, can you think of a better response here? svn:r1268
2004-03-09Make tor build on windows again. More work still neededNick Mathewson
svn:r1247
2003-12-17clean tabs, trailing whitespaceRoger Dingledine
svn:r952
2003-12-14make --debuglogfile (or any second log file) workRoger Dingledine
svn:r935
2003-11-19Check that we can write to the logfile and log a warning to stderr if we can'tPeter Palfrader
Move writing of pidfile after daemonizing, and also after setting the [ug]id: This means that the tor user needs write priviliges to the pidfile location. It needs it for unlinking the pidfile anyway. svn:r846
2003-10-18rewrite close_logs so it could possibly workRoger Dingledine
remove deadbeef memory-clobber testing (for now) svn:r616
2003-10-15clean up logging, allow user to specify log filesRoger Dingledine
If DebugLogFile is specified, log to it at -l debug If LogFile is specified, log to it at the -l from the commandline (default info) If no LogFile *and* not a Daemon, then log to stdout. Make conn->s = -1 by default (this might break things) When kill -USR1, prefer to log at INFO, but make sure they always see it. svn:r596
2003-10-15Make add_file_log return 0 on success.Nick Mathewson
svn:r594
2003-10-10oops, bugfixRoger Dingledine
svn:r572
2003-10-10change WARNING to WARNRoger Dingledine
svn:r570
2003-10-08Update LICENSE and copyright dates.Nick Mathewson
svn:r560
2003-10-07some early bugfixesRoger Dingledine
our log() conflicts with log(3) distribute only the correct files from doc/ and src/config/ sometimes laptops go back in time. i guess that's ok for now. and bump the version number because we're live. svn:r544
2003-10-04wrap strdup; prefer time() to gettimeofday()Roger Dingledine
svn:r538
2003-10-04clean some includesRoger Dingledine
svn:r535
2003-10-01Flush after fputsNick Mathewson
svn:r526
2003-09-30make log use a larger buffer, for easier debuggingRoger Dingledine
svn:r515
2003-09-29bugfixes and features: closer to making dirserv workRoger Dingledine
fix a variety of seg faults don't try to list OPs in running-routers write cached-directory to disk when rebuilding the dir on boot, dirservers load approved-routers file on boot, dirservers load cached directory file svn:r508
2003-09-26finish enforcing the log conventionRoger Dingledine
svn:r494
2003-09-25various bugfixes and updatesRoger Dingledine
redo all the config files for the new format (we'll redo them again soon) fix (another! yuck) segfault in log_fn when input is too large tor_tls_context_new() returns -1 for error, not NULL fix segfault in check_conn_marked() on conn's that die during tls handshake make ORs also initialize conn from router when we're the receiving node make non-dirserver ORs upload descriptor to every dirserver on startup add our local address to the descriptor add Content-Length field to POST command revert the Content-Length search in fetch_from_buf_http() to previous code fix segfault in memmove in fetch_from_buf_http() raise maximum allowed headers/body size in directory.c svn:r484
2003-09-19fix a segfault on truncated log linesRoger Dingledine
svn:r473
2003-09-16Add backend support for multiple logfiles, including console logs.Nick Mathewson
Also optimize logging by formatting messages in memory before sending them through stdio. (It turns out (according to gprof) that logging performance matters.) svn:r463
2003-09-11Non-debugging messages are nice to log tooNick Mathewson
svn:r444
2003-08-12Start of port to win32. Missing are:Nick Mathewson
- signal support - forking for DNS farm - changes for async IO - daemonizing In other words, some files still don't build, and the ones that do build, do nonblocking IO incorrectly. I'm also not checking in the project files till I have a good place for them. svn:r380
2003-06-25clean up sev_to_string hack in log.cRoger Dingledine
svn:r355
2003-06-21Remove false warnings from printf checksNick Mathewson
svn:r340
2003-06-17Come up with a less macro-happy, even more portable log_fn implementationNick Mathewson
svn:r331
2003-03-19Add a missing long cast to log.c for portabilityNick Mathewson
svn:r199
2002-11-24added milliseconds to log linesRoger Dingledine
svn:r139
2002-09-04the logs now include a timestamp and severityRoger Dingledine
the implementation is sort of a kludge..you're welcome to fix it up svn:r94
2002-07-12removed loglevel from global namespace. severity level is set using log() ↵Bruce Montrose
with a NULL format argument now. example: log(LOG_ERR,NULL); svn:r44
2002-06-26Initial revisionRoger Dingledine
svn:r2