summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarno van der Molen <marnovandermolen@acknowledge.nl>2015-11-03 09:46:41 +0100
committerMarno van der Molen <marnovandermolen@acknowledge.nl>2015-11-03 09:46:41 +0100
commitdc5f7285c87dc45763a24636a95c4081552356de (patch)
tree37341d43b14c635718deb46b850bc112f6a6de0a /lib
parentf04ada741166c7c2cd5f9eee29a89127fab1f328 (diff)
Revert crash logging on fqdn - seems to crash oxidized...
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/node.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/node.rb b/lib/oxidized/node.rb
index 974b2d1..c847416 100644
--- a/lib/oxidized/node.rb
+++ b/lib/oxidized/node.rb
@@ -70,7 +70,7 @@ module Oxidized
Log.send(level, '%s raised %s%s with msg "%s"' % [self.ip, err.class, resc, err.message])
return false
rescue => err
- file = Oxidized::Config::Crash + '.' + opt[:name]
+ file = Oxidized::Config::Crash + '.' + self.ip.to_s
open file, 'w' do |fh|
fh.puts Time.now.utc
fh.puts err.message + ' [' + err.class.to_s + ']'