summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-08-16 11:43:25 +0300
committerSaku Ytti <saku@ytti.fi>2014-08-16 11:43:25 +0300
commitf076641f0183ac902019e741feda7474b2c1fdc9 (patch)
treee781b3159d433d9ece9209f37fe1549717c0107c
parent9272a9b98786e65c206ca8206c1c327cf66ffb17 (diff)
Closes #35
-rw-r--r--lib/oxidized/cli.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oxidized/cli.rb b/lib/oxidized/cli.rb
index d6a139d..c66ec8d 100644
--- a/lib/oxidized/cli.rb
+++ b/lib/oxidized/cli.rb
@@ -16,11 +16,13 @@ module Oxidized
private
def initialize
+ Log.info "Oxidized starting, running as pid #{$$}"
_args, @opts = parse_opts
CFG.debug = true if @opts[:debug]
end
def crash error
+ Log.fatal "Oxidized crashed, crashfile written in #{Config::Crash}"
open Config::Crash, 'w' do |file|
file.puts '-' * 50
file.puts Time.now.utc