[lldb-dev] Temporary log channel...

Pavel Labath via lldb-dev lldb-dev at lists.llvm.org
Wed Apr 5 13:50:05 PDT 2017


That looks like one of my changes. While refactoring the channels (I am
done with that now btw), I deleted some unused categories, mostly in the
"posix" channel, but this I deleted this one as well..  I didn't call that
out explicitly during review, as it seemed easy to add back those that turn
out to be needed.

sorry about the troubles,
pl

On 4 April 2017 at 00:22, Jim Ingham via lldb-dev <lldb-dev at lists.llvm.org>
wrote:

> BTW, Jason noticed that somebody had deleted the LIBLLDB_LOG_TEMPORARY log
> channel.
>
> Since it looks like one of those things that there's no use for, it's easy
> to think deleting it is a good cleanup.  But it's actually quite useful as
> a way to quickly tailor-make a particular set of logs.  Some of the logs
> (the expression log in particular) are pretty chatty and you just want a
> subset, and sometimes you want to pick just a few messages from several
> logs.  You can easily do that by just switching the log channel from
> whatever log it was to LIBLLDB_LOG_TEMPORARY, and then do "log enable lldb
> temp".  Then before you check in your code, you can just go revert all the
> instances of LLDB_LOG_TEMPORARY and you've left the original state
> untouched.
>
> Jim
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170405/5e15f577/attachment.html>


More information about the lldb-dev mailing list