diff options
-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: |