blah that last commit was early and broken
Tyler Riddle [Mon, 8 Oct 2012 19:41:19 +0000 (12:41 -0700)]
lib/System/Introspector/State.pm

index daebb40..21b2eef 100644 (file)
@@ -32,6 +32,7 @@ sub gather {
                 @scan = splice(@hosts, 0, $concurrent_max);  
             } else {
                 @scan = @hosts;
+                @hosts = (); 
             }
         
             Dlog_trace { my $c = scalar(@scan); "Scanning $c hosts in this gather loop" } @scan;
@@ -119,7 +120,7 @@ sub storage {
 
 sub _store {
     my ($self, $host, $group, $gathered) = @_;
-    log_debug { "Storing data for group '$group' on '$host'" };
+    log_info { "Storing data for group '$group' on '$host'" };
     my $storage = $self->storage($host, $group);
     my $ok = eval {
         my @files;