Skip to content

Instantly share code, notes, and snippets.

@martinos
Created September 13, 2010 22:06
Show Gist options
  • Select an option

  • Save martinos/578145 to your computer and use it in GitHub Desktop.

Select an option

Save martinos/578145 to your computer and use it in GitHub Desktop.
GIT_REV = `git rev-parse HEAD`
Rails.logger.info("%%%%%%%%% Starting Rails with PID: #{Process.pid}, process name: #{$0} #{ARGV.join(" ")} and git sha #{GIT_REV}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment