Early log messages are swallowed by the log subsystem
Steps to reproduce:
- Add
tor_assert_nonfatal(0);
beforeadd_default_log_for_quiet_level(quiet);
insrc/app/main/main.c
. - Compile and run Tor.
What is the current bug behavior?
Tor starts normally with no message printed.
What is the expected behavior?
A message is printed, or if not possible, Tor fails to start.
Environment
- Which version of Tor are you using? master
- Which operating system are you using? N/A
- Which installation method did you use? from git
Additional information
This is related to 6d8b6147; commenting out that segment allows the message to be printed, but then all the other pre-logging messages are duplicated.