[autotest] improve logging in autoserv main()
Prior to this CL, if autoserv's call to run_autoserv threw an exception,
the stacktrace was printed to autoserv's stdout but not otherwise logged
anywhere. This CL causes these exceptions to be logged appropriately.
A debug level logging message giving autoserv's arguments has also been
added.
BUG=None
TEST=Ran autoserv directly; stracktrace shown in stdout. Started a suite
in such a way as to throw an exception from run_autoserv; stacktrace
visible in autoserv.DEBUG log file.
Change-Id: Ic2896b78185e7f96e8b4fec421858fe5aa503245
Reviewed-on: https://gerrit.chromium.org/gerrit/66405
Commit-Queue: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
1 file changed