summaryrefslogtreecommitdiff
path: root/lib/oxidized/nodes.rb
diff options
context:
space:
mode:
authorElvin Efendi <elvin.efendiyev@gmail.com>2016-06-02 21:24:48 +0200
committerElvin Efendi <elvin.efendiyev@gmail.com>2016-06-02 22:14:09 +0200
commit71d9bdc6a529d187d58a855208341409aa872289 (patch)
tree15b102314c4090d9ecdcd518e3c5c902027bfeaa /lib/oxidized/nodes.rb
parentcf4ab7752cd7c6141f2da0a7491c9f1842c88f09 (diff)
more debug stratements
Diffstat (limited to 'lib/oxidized/nodes.rb')
-rw-r--r--lib/oxidized/nodes.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/oxidized/nodes.rb b/lib/oxidized/nodes.rb
index 61d2d44..cd67007 100644
--- a/lib/oxidized/nodes.rb
+++ b/lib/oxidized/nodes.rb
@@ -11,6 +11,7 @@ module Oxidized
new = []
@source = Oxidized.config.source.default
Oxidized.mgr.add_source @source
+ Oxidized.logger.info "lib/oxidized/nodes.rb: Loading nodes"
Oxidized.mgr.source[@source].new.load.each do |node|
# we want to load specific node(s), not all of them
next unless node_want? node_want, node
@@ -24,7 +25,7 @@ module Oxidized
end
end
size == 0 ? replace(new) : update_nodes(new)
- Oxidized.logger.info "Loaded #{size} nodes"
+ Oxidized.logger.info "lib/oxidized/nodes.rb: Loaded #{size} nodes"
end
end