#1830: ER : Add a warning for logfiles if the log file does not exist or is not
found
------------------------+------------------------------------
Reporter:  darshie      |      Owner:
    Type:  enhancement  |     Status:  new
Priority:  major        |  Milestone:  undecided
 Version:  0.8.3        |   Keywords:  shellCommand, logfiles
------------------------+------------------------------------
 I've noticed that there is no warning in the logs if i try to read a log
 file from disk using logfiles.

 f.addStep(ShellCommand(
                         command=["make", "test"],
                         logfiles={"disk_log":
 "/slavebot/testbuild/test.log"}))

 In this case if the file cannot be found, an empty file called test.log
 will be created and added to the waterfall page.

 Would be useful to have a warning in the logs so is possible to know if
 the file exist or not, and troubleshoot why a log file is not displayed in
 the waterfall page, instead than just showing an empty file.

 Thanks

-- 
Ticket URL: <http://trac.buildbot.net/ticket/1830>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to