newrelic: fix newrelic starting without license key.
Fix an issue where the New Relic agent always started in the production environment, even when a license key wasn't configured. Also make the New Relic agent log to stdout instead of log/newrelic_agent.log.
This commit is contained in:
@@ -581,6 +581,12 @@ module Danbooru
|
||||
def redis_url
|
||||
# "redis://localhost:6379"
|
||||
end
|
||||
|
||||
# Optional. The license key for your New Relic account.
|
||||
# https://newrelic.com/
|
||||
# https://docs.newrelic.com/docs/accounts/accounts-billing/account-setup/new-relic-license-key/
|
||||
def new_relic_license_key
|
||||
end
|
||||
end
|
||||
|
||||
EnvironmentConfiguration = Struct.new(:config) do
|
||||
|
||||
Reference in New Issue
Block a user