diff options
Diffstat (limited to 'indra')
-rw-r--r-- | indra/test/test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/test/test.cpp b/indra/test/test.cpp index 51f0e80043..6b342ffe89 100644 --- a/indra/test/test.cpp +++ b/indra/test/test.cpp @@ -631,8 +631,9 @@ int main(int argc, char **argv) const char* LOGFAIL = getenv("LOGFAIL"); boost::shared_ptr<LLReplayLog> replayer; // As described in stream_usage(), LOGFAIL overrides both --debug and - // LOGTEST. - if (LOGFAIL) + // LOGTEST. But allow user to set LOGFAIL empty to revert to LOGTEST + // and/or --debug. + if (LOGFAIL && *LOGFAIL) { LLError::ELevel level = LLError::decodeLevel(LOGFAIL); replayer.reset(new LLReplayLogReal(level, gAPRPoolp)); |