Nick Mathewson
|
9b432311c4
Make new logging stuff work on windows; fix a couple of windows typos.
|
19 years ago |
Roger Dingledine
|
ed4f15b2a7
When logging via syslog, include the pid whenever we provide
|
19 years ago |
Roger Dingledine
|
87e8e7b4fa
using an unsigned int for something that requires at least 3 bytes
|
19 years ago |
Nick Mathewson
|
7a9774eff0
Also here.
|
19 years ago |
Nick Mathewson
|
932106f54c
Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" domain. Domains are now bitmasks... just in case. Make some err msgs non-general.
|
19 years ago |
Nick Mathewson
|
edf5698474
Start dividing log messages into logging domains. No, LD_ is not the best of identifiers. src/or has not been converted yet. Domains dont do anything yet.
|
19 years ago |
Nick Mathewson
|
92451f74a8
Reformat inconsistent function declarations.
|
19 years ago |
Nick Mathewson
|
5c53545d81
Add a bunch more warnings to out warning suite; resolve them; pack structs a little better.
|
19 years ago |
Nick Mathewson
|
789374dbbd
Make GCC very happy, even with lots of warnings set. Also, try to fix some reported Solaris x86 warnings.
|
19 years ago |
Roger Dingledine
|
f4eec180a2
disarm a trap that's lying in wait for us
|
19 years ago |
Roger Dingledine
|
fcd0fc3364
flesh out the source file descriptions for doxygen
|
19 years ago |
Nick Mathewson
|
0831823763
Change end-of-file NLNL convention. It turns out arma I and I agree.
|
19 years ago |
Nick Mathewson
|
8b2a7ff9fe
Remove extraneous newlines from libevent log messages. Backport candidate?
|
19 years ago |
Nick Mathewson
|
f3b833cb47
Make libevent_logging_callback static.
|
19 years ago |
Nick Mathewson
|
4991290935
Revise control spec and implementation to allow all log messages to be sent to controller with their severities intact.
|
19 years ago |
Nick Mathewson
|
0e81265359
update copyright notices.
|
19 years ago |
Nick Mathewson
|
73f6c1531e
fix typo in earlier libevent mmessage suppress patch
|
19 years ago |
Nick Mathewson
|
410ecfcc71
Add code to suppress spurious libevent log msgs; use it to resolve bug 68.
|
19 years ago |
Nick Mathewson
|
efe9ca659a
Use recent libevent features when possible
|
19 years ago |
Nick Mathewson
|
df9c8feac7
Commit fixes for several pending tor core tasks: document all DOCDOCed functions; time out uncontrolled unattached streams; feed reasons to SOCKS5 (refactoring connection_ap_handshake_socks_reply in the process); change DirFetchPeriod/StatusFetchPeriod to have a special "Be smart" value.
|
19 years ago |
Nick Mathewson
|
70c3580f81
Patch to localtime/gmtime handling: use the _r variants where available. Use mutexes to fake _r where necessary. Make mutexes no-ops where no threading is enabled.
|
20 years ago |
Roger Dingledine
|
1f3e77bf92
make the initial temp log only notice-err, not info-err
|
20 years ago |
Roger Dingledine
|
c3189c2573
fix an assert on startup when the disk is full and you're logging to a file
|
20 years ago |
Nick Mathewson
|
a3477223de
clarify why strlcpy is safe in truncated log messages
|
20 years ago |
Nick Mathewson
|
7fbd297532
Suggestion from weasel: Make tor --version --version dump the cvs Id of every file.
|
20 years ago |
Nick Mathewson
|
b6b07d1d98
Remove needless -2 in log code. This was not an underflow risk, sinze we only call format_msg from one place, where buf_len==10024
|
20 years ago |
Roger Dingledine
|
671a2de762
clean up the previous underflow check, and also point out
|
20 years ago |
Roger Dingledine
|
185f047450
prevent integer underflow
|
20 years ago |
Roger Dingledine
|
22727b4edc
wrong is ok, and right is fine, but in between is apparently
|
20 years ago |
Nick Mathewson
|
6f5dbefa7e
Normalize space: add one between every control keyword and control clause.
|
20 years ago |