summaryrefslogtreecommitdiff
path: root/lib/oxidized/cli.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/cli.rb')
-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