Nick Mathewson
|
5b668d8557
ugly macros to make log_fn play nice on non-GCC compilers.
|
před 20 roky |
Nick Mathewson
|
783bbcf471
Fix "implicit declaration of ftello" warning: add AC_FUNC_FSEEKO in configure.in and always include orconfig.h before anything else
|
před 20 roky |
Roger Dingledine
|
14c7ad409f
remove redundant stdio.h
|
před 20 roky |
Roger Dingledine
|
bd4d99b3fe
clean up the ftello call a little bit.
|
před 20 roky |
Nick Mathewson
|
5d92fbe30e
Use autoconf to enable largefile support where necessary. Use ftello where available, since ftell can fail at 2GB.
|
před 20 roky |
Nick Mathewson
|
5a5be93f80
Normalize whitespace; add a "tell me about all the unnormalized whitespace" target; fix a braino in dirserv.c
|
před 20 roky |
Roger Dingledine
|
8c7b2ff7ed
various fixes
|
před 20 roky |
Nick Mathewson
|
2e8353e2f4
Use new log format; convert old format to new format.
|
před 20 roky |
Nick Mathewson
|
70f7e32ec6
fix typos
|
před 20 roky |
Nick Mathewson
|
11979dc1f5
Add a callback log handler type
|
před 20 roky |
Nick Mathewson
|
2fbf31533b
Tricksy compiler warnings! We hates them, hates them forever, my precious!
|
před 20 roky |
Nick Mathewson
|
44d4516155
Use tor_snprintf, not snprintf
|
před 20 roky |
Nick Mathewson
|
bc62f8e983
Replace sprintf with snprintf
|
před 20 roky |
Nick Mathewson
|
26f3cb8652
Add SysLog option to direct log messages to the system log instead of a FILE*.
|
před 20 roky |
Roger Dingledine
|
6d873e5743
don't assert multiple things in the same tor_assert()
|
před 20 roky |
Roger Dingledine
|
8385fdb590
make our tor_assert actually work when it's going to be triggered,
|
před 20 roky |
Roger Dingledine
|
a1979800ab
bugfix on the bugfix
|
před 20 roky |
Roger Dingledine
|
f753f6f0e2
bugfix: when we run out of disk space, or other log writing error,
|
před 20 roky |
Roger Dingledine
|
7304ac1d6f
tweak the [...truncated] string again
|
před 20 roky |
Roger Dingledine
|
40f9f94794
don't add a spurious newline before [truncated]
|
před 20 roky |
Nick Mathewson
|
ebf2d275bf
End truncated log entries with [truncated]
|
před 20 roky |
Roger Dingledine
|
17e5f25214
trivial punctuation tweak
|
před 20 roky |
Nick Mathewson
|
653aaeef08
Always log version when starting tor.
|
před 20 roky |
Nick Mathewson
|
8aec3a7301
Implement several 008pre1 items: needs more testing
|
před 20 roky |
Nick Mathewson
|
605e10a650
Stop multiplying logs on sighup.
|
před 20 roky |
Roger Dingledine
|
f875db1821
it looks like parse_log_level() was never taught about WARN?
|
před 20 roky |
Nick Mathewson
|
ccb825128e
Tinker with log behavior: never send error messages about logs into the bitbucket
|
před 20 roky |
Nick Mathewson
|
9d2cd7fc6e
Allow multiple logfiles at different severity ranges
|
před 20 roky |
Roger Dingledine
|
3cdf2d67da
it's amazing what a bit of punctuation can do for appearances
|
před 20 roky |
Nick Mathewson
|
c0ea93337d
Doxygenate common.
|
před 20 roky |