diff options
author | Seth Vidal <skvidal@fedoraproject.org> | 2013-07-04 17:39:31 +0000 |
---|---|---|
committer | Seth Vidal <skvidal@fedoraproject.org> | 2013-07-04 17:39:31 +0000 |
commit | e81e17df7dc4964eb09c7c0208b68455ed64eca8 (patch) | |
tree | 2606b0a03483a5dd02f4f49e53f8a9fe1a3835e4 | |
parent | 2ec45fb97bd0f8c184b3dd66ef9c59a29acb2cc6 (diff) | |
download | ansible-e81e17df7dc4964eb09c7c0208b68455ed64eca8.tar.gz ansible-e81e17df7dc4964eb09c7c0208b68455ed64eca8.tar.xz ansible-e81e17df7dc4964eb09c7c0208b68455ed64eca8.zip |
add ANY search option to dump all tasks
-rwxr-xr-x | scripts/logview | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/logview b/scripts/logview index 5b2d7b334..64dafb8e2 100755 --- a/scripts/logview +++ b/scripts/logview @@ -49,7 +49,7 @@ def search_logs(opts, logfiles): timestamp = os.path.basename(os.path.dirname(fn)) for line in open(fn): things = line.split('\t') - if things[2] in opts.search_terms: + if things[2] in opts.search_terms or 'ANY' in opts.search_terms: slurp = json.loads(things[4]) msg += '%s\t%s\t%s\t%s\t%s\t%s' % (timestamp, hostname, things[0], things[1], things[2], things[3]) if not opts.verbose: |