It is still good to have the ability to specify a file.

I don't really care how we specify the log, just don't change "debugserver". 
You can change detest.py and lldb-server, but why not just use options to 
dotest.py instead of environment variables? 

> On May 4, 2015, at 9:09 PM, Vince Harron <vi...@nethacker.com> wrote:
> 
> I'm starting to think that
> 
> export LLDB_LOG=/tmp/basename
> 
> isn't even necessary.  Just use the test session dir.
> 
> 
> 
> On Mon, May 4, 2015 at 5:23 PM, Vince Harron <vi...@nethacker.com> wrote:
> Also, currently, it isn't possible to get meaningful logs from dosep.py 
> because the different dotest invocations stomp on each other.  I'm planning 
> on using this change to make it easier to direct the various log files into 
> test specific log files.
> 
> 
> On Mon, May 4, 2015 at 2:51 PM, Vince Harron <vhar...@google.com> wrote:
> Hi Greg/all,
> 
> Currently, I have to define a lot of different environment variables to get 
> all of the logs I typically need/want.  Are you okay with the proposed change?
> 
> CURRENT WAY
> 
> dotest.py
> export LLDB_LOG=/tmp/basename-lldb.log
> export LLDB_LOG_OPTION=all
> export GDB_REMOTE_LOG=/tmp/basename-gdb-remote.log
> export GDB_REMOTE_LOG_OPTION=all
> 
> debugserver
> export LLDB_DEBUGSERVER_LOG_FILE=/tmp/basename-lldb-server-gdb-remote.log
> export LLDB_DEBUGSERVER_LOG_FLAGS=all
> export LLDB_DEBUGSERVER_EXTRA_ARG_1="-c"
> export LLDB_DEBUGSERVER_EXTRA_ARG_2="log enable -Tpn -f 
> /tmp/basename-lldb-server-lldb.log lldb all"
> 
> PROPOSED WAY (generates all of the files shown above)
> 
> export LLDB_LOG=/tmp/basename
> export LLDB_LOG_OPTION="lldb all;gdb-remote all"
> 
> This will also help us break the dependency between lldb-sever and the 
> command line interpreter.
> 
> -- 
> 
> Vince Harron |         Technical Lead Manager |        vhar...@google.com |   
>  858-442-0868
> 
> 
> _______________________________________________
> 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