summaryrefslogtreecommitdiff
path: root/src/lib/log
AgeCommit message (Collapse)Author
2018-12-20Add LD_BTRACK log domain for bootstrap trackerTaylor Yu
Part of ticket 27167.
2018-12-17Add "PT" log domain.Alexander Færøy
See: https://bugs.torproject.org/28179
2018-11-27Add LD_PROCESS as log domain.Alexander Færøy
See: https://bugs.torproject.org/28179
2018-11-09Rename subsystem callback functions to make them consistentNick Mathewson
2018-11-05Turn the logging code into a subsystemNick Mathewson
2018-11-05Move the code that knows our tor version into a lowest-level libNick Mathewson
2018-10-15Merge branch 'maint-0.3.4'Nick Mathewson
2018-10-15Merge branch 'maint-0.3.4'Nick Mathewson
2018-10-15Merge branch 'maint-0.3.4'Nick Mathewson
2018-08-28Fix log.c comments about assert vs tor_assert vs raw_assert.Nick Mathewson
2018-07-30Remove a now-obsolete comment about deadcode_dummy__Nick Mathewson
2018-07-20Remove over-cleverness from our coverity BUG() definition.Nick Mathewson
Our previous definition implied that code would never keep running if a BUG occurred (which it does), and that BUG(x) might be true even if x was false (which it can't be). Closes ticket 26890. Bugfix on 0.3.1.4-alpha.
2018-07-11Move all use cases of micro-revision.i to a single placeNick Mathewson
That place is git-revision.c; git-revision.c now lives in lib/log. Also fix the compilation rules so that all object files that need micro-revision.i depend on it.
2018-07-10Rename tm_cvt to time_to_tmNick Mathewson
2018-07-10Rename torlog.[ch] to log.[ch]Nick Mathewson
Fun fact: these files used to be called log.[ch] until we ran into conflicts with systems having a log.h file. But now that we always include "lib/log/log.h", we should be fine.
2018-07-10Rename util_malloc to malloc.Nick Mathewson
2018-07-10File-level summary documentation for src/lib/*/*.[ch]Nick Mathewson
2018-06-27Merge branch 'fs_refactor'Nick Mathewson
2018-06-27Merge branch 'net_refactor'Nick Mathewson
2018-06-27fixup! Move format_win32_error into lib/log/Nick Mathewson
2018-06-27Move format_win32_error into lib/log/Nick Mathewson
2018-06-27Split read_all and write_all into separate functionsNick Mathewson
2018-06-26Move the escape-for-log code into src/lib/logNick Mathewson
It doesn't need anything higher-level, and everything that needs the logs potentially needs this.
2018-06-26Extract core part of smartlist code into its own library.Nick Mathewson
The smartlist_core library now contains only the parts of smartlists that are needed for the logging library. This resolves the circularity between "container" and "log". The "containers" library still uses the logging code, and has the higher-level smartlist functions.
2018-06-22Update the micro-revision.i dependencies, and add a stdlib.hNick Mathewson
2018-06-22Two more small changes for CI.Nick Mathewson
2018-06-22Move util_bug into libtor-logNick Mathewson
2018-06-22Update .gitignore and .may_include filesNick Mathewson
2018-06-22Finally extract the log library and make it build.Nick Mathewson
This patch: - introduces an fdio module for low-level fd functions that don't need to log. - moves the responsibility for opening files outside of torlog.c, so it won't need to call tor_open_cloexec.
2018-06-22Extract core part of gmtime_r, localtime_r (without logging)Nick Mathewson
2018-06-22Remove the util_bug.h include from smartlist.h.Nick Mathewson
This change makes a whole bunch of things in torlog.c break, since apparently I did not find all the fd dependencies.
2018-06-22Automated fixup of include paths after torlog.h movement.Nick Mathewson
2018-06-22Extract the locking and logging codeNick Mathewson
The locking code gets its own module, since it's more fundamental than the higher-level locking code. Extracting the logging code was the whole point here. :)