Skip to content

Commit

Permalink
Merge pull request #1514 from ruby-agent/log_version
Browse files Browse the repository at this point in the history
include the agent version in the startup log message
  • Loading branch information
mwear committed Feb 22, 2017
2 parents 9263699 + 656e54c commit c5d8183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/new_relic/control/instance_methods.rb
Expand Up @@ -86,7 +86,7 @@ def determine_env(options)
Agent.logger.error("Attempted to start agent in #{env.inspect} environment, but agent was already running in #{@started_in_env.inspect}",
"The agent will continue running in #{@started_in_env.inspect}. To alter this, ensure the desired environment is set before the agent starts.")
else
Agent.logger.info("Starting the New Relic agent in #{env.inspect} environment.",
Agent.logger.info("Starting the New Relic agent version #{NewRelic::VERSION::STRING} in #{env.inspect} environment.",
"To prevent agent startup add a NEW_RELIC_AGENT_ENABLED=false environment variable or modify the #{env.inspect} section of your newrelic.yml.")
end

Expand Down

0 comments on commit c5d8183

Please sign in to comment.