Skip to content

Commit 47cc4ae

Browse files
committed
Remove log statement when fleet ID is not found.
1 parent 2c95126 commit 47cc4ae

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed

newrelic/config.py

-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
import fnmatch
1717
import logging
1818
import os
19-
import uuid
20-
import sched
2119
import sys
2220
import threading
2321
import time

newrelic/core/agent.py

-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ def agent_singleton():
189189

190190
return Agent._instance
191191

192-
193192
def __init__(self, config):
194193
"""Initialises the agent and attempt to establish a connection
195194
to the core application. Will start the harvest loop running but

newrelic/core/application.py

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import logging
2020
import os
2121
import sys
22-
import uuid
2322
import threading
2423
import time
2524
import traceback

newrelic/core/super_agent_health.py

-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ def is_valid_file_delivery_location(file_uri):
8484
def health_check_enabled():
8585
fleet_id_present = os.environ.get("NEW_RELIC_SUPERAGENT_FLEET_ID", None)
8686
if not fleet_id_present:
87-
_logger.warning("Super Agent fleet ID not found in environment. Health reporting will not be enabled.")
8887
return False
8988

9089
health_file_location = os.environ.get("NEW_RELIC_SUPERAGENT_HEALTH_DELIVERY_LOCATION", None)

0 commit comments

Comments
 (0)