From d0736c757645694ed255e060c5eab45c21f9ffa6 Mon Sep 17 00:00:00 2001 From: Elvin Efendi Date: Mon, 7 Dec 2015 09:22:36 -0500 Subject: bug fix --- lib/oxidized/cli.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/oxidized/cli.rb') diff --git a/lib/oxidized/cli.rb b/lib/oxidized/cli.rb index 0c87d53..fd766e3 100644 --- a/lib/oxidized/cli.rb +++ b/lib/oxidized/cli.rb @@ -18,10 +18,11 @@ module Oxidized private def initialize - Log.info "Oxidized starting, running as pid #{$$}" + Log.info "Oxidized starting, running as pid #{$$} by #{ENV['USER']}" _args, @opts = parse_opts Oxidized.config.debug = true if @opts[:debug] @pidfile = File.expand_path("pid") + Log.debug "pidfile: #{@pidfile}" end def crash error -- cgit v1.2.1