From f82a65776bd6fa33a0b5b6ecbb322384629f222a Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 12 Aug 2016 13:48:58 -0700 Subject: ref-manual: Updated the "Viewing Logs from Failed Tasks" section. Fixes [YOCTO #10132] Provided a better description and removed a deprecated sentence near the end. (From yocto-docs rev: bbe588e19bb9ed58883ae7c770da551de659e982) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/usingpoky.xml | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/usingpoky.xml b/documentation/ref-manual/usingpoky.xml index a7a63bd8cb..79322dd198 100644 --- a/documentation/ref-manual/usingpoky.xml +++ b/documentation/ref-manual/usingpoky.xml @@ -166,19 +166,32 @@
Viewing Logs from Failed Tasks - The log file for shell tasks is available in - ${WORKDIR}/temp/log.do_taskname.pid. - For example, the do_compile task for the QEMU minimal image for the x86 - machine (qemux86) might be - tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_compile.20830. - To see what - BitBake - runs to generate that log, look at the corresponding - run.do_taskname.pid file located in the same directory. + + You can find the log for a task in the file + ${WORKDIR}/temp/log.do_taskname.pid. + For example, the log for the + do_compile + task of the QEMU minimal image for the x86 machine + (qemux86) might be in + tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_compile.pid. + To see the commands + BitBake ran + to generate a log, look at the corresponding + run.do_taskname.pid + file in the same directory. - Presently, the output from Python tasks is sent directly to the console. + log.do_taskname and + run.do_taskname + are actually symbolic links to + log.do_taskname.pid + and + log.run_taskname.pid, + where pid is the PID the task had when + it ran. + The symlinks always point to the files corresponding to the most + recent run.
-- cgit v1.2.3-54-g00ecf