[lldb-dev] Logging different channels to different files

Vince Harron vince at nethacker.com
Wed May 6 16:58:37 PDT 2015


I've never tried logging to the same file because I stepped through the
code and (IIRC) different "log enable" commands to the same file path open
separate file descriptors without the append flag, so I expected that they
would stomp on each other.  Maybe I misunderstood.  I'll try it now.


On Wed, May 6, 2015 at 4:50 PM, Sean Callanan <scallanan at apple.com> wrote:

> I’ve never wanted to send different logs to different files.
>
> Sean
>
> > On May 6, 2015, at 4:19 PM, Vince Harron <vince at nethacker.com> wrote:
> >
> > Hi Greg/all,
> >
> > I would like to add a feature to the log system that allows multiple
> channels to write to a single file.  This will be incredibly useful for
> correlating messages between channels.  We can also add a log option for
> adding the channel name to each log line, which would allow filtering based
> on channel name.
> >
> > Do you want to retain the ability to log different channels to separate
> files?
> >
> > Sincerely,
> >
> > Vince
> >
> > _______________________________________________
> > lldb-dev mailing list
> > lldb-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150506/2602c054/attachment.html>


More information about the lldb-dev mailing list