To tell the truth, I've never looked at the implementation of this too closely, 
but it does seem to work.  You have to use the -t option if you are going to do 
any complex logging since you will probably get multiple threads logging 
simultaneously.

Jim

> On May 6, 2015, at 4:58 PM, Vince Harron <vi...@nethacker.com> wrote:
> 
> 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 <scalla...@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 <vi...@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@cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
> 
> 
> _______________________________________________
> lldb-dev mailing list
> lldb-dev@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev


_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to