[lldb-dev] Temporary log channel...

Jim Ingham via lldb-dev lldb-dev at lists.llvm.org
Wed Apr 5 14:47:30 PDT 2017


No prob, I scanned those changes and should have noticed the omission at the time...

Jim

> On Apr 5, 2017, at 1:50 PM, Pavel Labath <labath at google.com> wrote:
> 
> 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
> 



More information about the lldb-dev mailing list