From 91d0cf48f6b5023baee4bf3fc6c044979fd5628f Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Mon, 26 Feb 2007 22:20:08 +0000 Subject: [PATCH] better logging. --- lib/ZOOM/IRSpy.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ZOOM/IRSpy.pm b/lib/ZOOM/IRSpy.pm index 6997079..7c99f09 100644 --- a/lib/ZOOM/IRSpy.pm +++ b/lib/ZOOM/IRSpy.pm @@ -1,4 +1,4 @@ -# $Id: IRSpy.pm,v 1.69 2007-02-26 14:49:23 mike Exp $ +# $Id: IRSpy.pm,v 1.70 2007-02-26 22:20:08 mike Exp $ package ZOOM::IRSpy; @@ -199,8 +199,9 @@ sub initialise { $this->log("irspy_debug", "query '", $this->{query}, "'"); my $rs = $this->{conn}->search(new ZOOM::Query::CQL($this->{query})); + $this->log("irspy", "'", $this->{query}, "' found ", + $rs->size(), " target records"); delete $this->{query}; # No longer needed at all - $this->log("irspy_debug", "found ", $rs->size(), " target records"); my $gatherTargets = !$this->{targets}; foreach my $i (1 .. $rs->size()) { my $target = _render_record($rs, $i-1, "id"); -- 1.7.10.4