I'll look into -v tomorrow, not sure what it does.  -t definitely isnt enough though.  I basically want all calls to LLDB's logging statements to be output to a file somewhere when i run the test suite.<br><br>The reason this is useful is because i had a race condition that was happening sporadically on different tests when run from the test runner, but never individually.  Attaching after the crash wasn't enough to figure out what caused the error, since the crash was a symptom of something that had happened earlier.  So i wanted to see a full log for the crash run<br><div class="gmail_quote">On Wed, Dec 10, 2014 at 4:54 PM Greg Clayton <<a href="mailto:gclayton@apple.com">gclayton@apple.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try using "-t -v" when you need to see extra logging output from the test. Let me know if that isn't enough.<br>
<br>
Greg<br>
<br>
> On Dec 10, 2014, at 1:42 PM, Zachary Turner <<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>> wrote:<br>
><br>
> Currently we just dump the results of stdout / stderr when running the tests.  Occasionally it might be useful for someone diagnosing a failing test to enable more detailed logging.  Essentially running a "log enable" command at lldb startup.  I see that dotest.py has the ability to pass a runhook via -k, so that one could in theory run dotest.py -k "log enable <whatever>".<br>
><br>
> Is it worth putting this behind a separate option in dotest.py?  Something like this:<br>
><br>
> dotest.py --enable-logging --log-filters=process|<u></u>platform|communication<br>
><br>
> When --enable-logging is specified, the test runner would decide the output file name automatically using the value of the -s option, or if unspecified, the same default that -s uses.<br>
> ______________________________<u></u>_________________<br>
> lldb-dev mailing list<br>
> <a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/lldb-dev</a><br>
<br>
</blockquote></div>