diff options
author | Neil Moore <neil@s-z.org> | 2012-09-10 03:48:09 -0500 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2012-09-10 03:48:09 -0500 |
commit | 4854a7c6db0072ba59bc8b6d2454b7bc34d23792 (patch) | |
tree | a0e24ec4c13d4e9223976c891b024034dca65aaf | |
parent | 7d69933a87311a62a841d52c19ff30c453ab55e7 (diff) | |
download | crawlbot-4854a7c6db0072ba59bc8b6d2454b7bc34d23792.tar.gz crawlbot-4854a7c6db0072ba59bc8b6d2454b7bc34d23792.zip |
Search logs in reverse chronological order.
Within a given log file, matches are still displayed in chronological
order.
-rwxr-xr-x | dat/log/crawl-dev.log.concat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dat/log/crawl-dev.log.concat b/dat/log/crawl-dev.log.concat index ecfc76b..c6c242c 100755 --- a/dat/log/crawl-dev.log.concat +++ b/dat/log/crawl-dev.log.concat @@ -29,7 +29,7 @@ if ($@) { } my $matching_files=0; -FILE: for my $logf (<*.log>) { +FILE: for my $logf (reverse <*.log>) { my $f = new IO::File $logf, "<:encoding(UTF-8)"; unless (defined $f) { print "skipping $logf: $!\n"; |