aboutsummaryrefslogtreecommitdiff
path: root/src/common/log.c
Commit message (Collapse)AuthorAge
* clean tabs, trailing whitespaceRoger Dingledine2003-12-17
| | | | svn:r952
* make --debuglogfile (or any second log file) workRoger Dingledine2003-12-14
| | | | svn:r935
* Check that we can write to the logfile and log a warning to stderr if we can'tPeter Palfrader2003-11-19
| | | | | | | | | 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
* rewrite close_logs so it could possibly workRoger Dingledine2003-10-18
| | | | | | | remove deadbeef memory-clobber testing (for now) svn:r616
* clean up logging, allow user to specify log filesRoger Dingledine2003-10-15
| | | | | | | | | | | | 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
* Make add_file_log return 0 on success.Nick Mathewson2003-10-15
| | | | svn:r594
* oops, bugfixRoger Dingledine2003-10-10
| | | | svn:r572
* change WARNING to WARNRoger Dingledine2003-10-10
| | | | svn:r570
* Update LICENSE and copyright dates.Nick Mathewson2003-10-08
| | | | svn:r560
* some early bugfixesRoger Dingledine2003-10-07
| | | | | | | | | | 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
* wrap strdup; prefer time() to gettimeofday()Roger Dingledine2003-10-04
| | | | svn:r538
* clean some includesRoger Dingledine2003-10-04
| | | | svn:r535
* Flush after fputsNick Mathewson2003-10-01
| | | | svn:r526
* make log use a larger buffer, for easier debuggingRoger Dingledine2003-09-30
| | | | svn:r515
* bugfixes and features: closer to making dirserv workRoger Dingledine2003-09-29
| | | | | | | | | | | 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
* finish enforcing the log conventionRoger Dingledine2003-09-26
| | | | svn:r494
* various bugfixes and updatesRoger Dingledine2003-09-25
| | | | | | | | | | | | | | | | | | | | 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
* fix a segfault on truncated log linesRoger Dingledine2003-09-19
| | | | svn:r473
* Add backend support for multiple logfiles, including console logs.Nick Mathewson2003-09-16
| | | | | | | | | 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
* Non-debugging messages are nice to log tooNick Mathewson2003-09-11
| | | | svn:r444
* Start of port to win32. Missing are:Nick Mathewson2003-08-12
| | | | | | | | | | | | | | | | - 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
* clean up sev_to_string hack in log.cRoger Dingledine2003-06-25
| | | | svn:r355
* Remove false warnings from printf checksNick Mathewson2003-06-21
| | | | svn:r340
* Come up with a less macro-happy, even more portable log_fn implementationNick Mathewson2003-06-17
| | | | svn:r331
* Add a missing long cast to log.c for portabilityNick Mathewson2003-03-19
| | | | svn:r199
* added milliseconds to log linesRoger Dingledine2002-11-24
| | | | svn:r139
* the logs now include a timestamp and severityRoger Dingledine2002-09-04
| | | | | | | the implementation is sort of a kludge..you're welcome to fix it up svn:r94
* removed loglevel from global namespace. severity level is set using log() ↵Bruce Montrose2002-07-12
| | | | | | with a NULL format argument now. example: log(LOG_ERR,NULL); svn:r44
* Initial revisionRoger Dingledine2002-06-26
svn:r2