MOCKSTACKS
EN
Questions And Answers

More Tutorials









Swift Log analysis


Swift logs can contain a lot of information. Swift includes a utility called "swiftlog" that analyzes the log and prints a nicely formatted summary of all tasks of a given run.

swiftlog usage


$ swiftlog run027
Task 1
App name = cat
Command line arguments = data.txt data2.txt
Host = westmere
Start time = 17:09:59,607+0000
Stop time = 17:10:22,962+0000
Work directory = catsn-run027/jobs/r/cat-r6pxt6kl
Staged in files = file://localhost/data.txt file://localhost/data2.txt
Staged out files = catsn.0004.outcatsn.0004.err
Task 2
App name = cat
Command line arguments = data.txt data2.txt
Host = westmere
Start time = 17:09:59,607+0000
Stop time = 17:10:22,965+0000
Work directory = catsn-run027/jobs/q/cat-q6pxt6kl
Staged in files = file://localhost/data.txt file://localhost/data2.txt
Staged out files = catsn.0010.outcatsn.0010.err


Conclusion

In this page (written and validated by ) you learned about Swift Log analysis . What's Next? If you are interested in completing Swift tutorial, we encourage you simply to start here: Swift Tutorial.



Incorrect info or code snippet? We take very seriously the accuracy of the information provided on our website. We also make sure to test all snippets and examples provided for each section. If you find any incorrect information, please send us an email about the issue: mockstacks@gmail.com.


Share On:


Mockstacks was launched to help beginners learn programming languages; the site is optimized with no Ads as, Ads might slow down the performance. We also don't track any personal information; we also don't collect any kind of data unless the user provided us a corrected information. Almost all examples have been tested. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. By using Mockstacks.com, you agree to have read and accepted our terms of use, cookies and privacy policy.