summaryrefslogtreecommitdiff
path: root/lib/oxidized/cli.rb
diff options
context:
space:
mode:
authorElvin Efendi <elvin.efendiyev@gmail.com>2015-12-07 09:27:04 -0500
committerElvin Efendi <elvin.efendiyev@gmail.com>2015-12-07 09:27:04 -0500
commitd0105ef311a9bfd0ecd23efe77678670d6042e02 (patch)
treeb6d790f77a5a3b2aa2a3652682ff90c23380e8a6 /lib/oxidized/cli.rb
parentcdb6cf6f2cd3d93d5b704025bdd618b2f4a59859 (diff)
parentd0736c757645694ed255e060c5eab45c21f9ffa6 (diff)
Merge pull request #8 from Shopify/fix-stripping-bug
bug fix
Diffstat (limited to 'lib/oxidized/cli.rb')
-rw-r--r--lib/oxidized/cli.rb3
1 files changed, 2 insertions, 1 deletions
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