diff options
author | Jacob Appelbaum <jacob@appelbaum.net> | 2009-05-22 23:33:44 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-05-22 23:33:44 -0400 |
commit | 75f963e9517ba8702fe1ed1d470e28b0462fb3d2 (patch) | |
tree | 1ca1f604bb51ad4d8cebfabf6b6927b8b8b0b8f2 /src/common/tortls.c | |
parent | 793e97bb2a610dbd4cf8cfb2795f8b680d55a116 (diff) | |
download | tor-75f963e9517ba8702fe1ed1d470e28b0462fb3d2.tar.gz tor-75f963e9517ba8702fe1ed1d470e28b0462fb3d2.zip |
Log the number and size of DNS cache entries on SIGUSR1.
Specifically if you send SIGUSR1, it will add two lines to the log file:
May 22 07:41:59.576 [notice] Our DNS cache has 3364 entries.
May 22 07:41:59.576 [notice] Our DNS cache size is approximately 1022656
bytes.
[tweaked a bit by nickm]
Diffstat (limited to 'src/common/tortls.c')
0 files changed, 0 insertions, 0 deletions