Skip to content

Commit 2e73ea7

Browse files
committed
Lower log levels; no need to shout
1 parent f0c5bdd commit 2e73ea7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

instana/fsm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def lookup_agent_host(self, e):
7979
self.fsm.announce()
8080
return True
8181

82-
log.warn("Instana Host Agent can't be found. Scheduling retry.")
82+
log.info("Instana Host Agent couldn't be found. Scheduling retry.")
8383
self.schedule_retry(self.lookup_agent_host, e, "agent_lookup")
8484
return False
8585

@@ -136,11 +136,11 @@ def announce_sensor(self, e):
136136
if b:
137137
self.agent.set_from(b)
138138
self.fsm.ready()
139-
log.warn("Host agent available. We're in business. Announced pid: %i (true pid: %i)" %
139+
log.info("Host agent available. We're in business. Announced pid: %i (true pid: %i)" %
140140
(pid, self.agent.from_.pid))
141141
return True
142142
else:
143-
log.warn("Cannot announce sensor. Scheduling retry.")
143+
log.debug("Cannot announce sensor. Scheduling retry.")
144144
self.schedule_retry(self.announce_sensor, e, "announce")
145145
return False
146146

0 commit comments

Comments
 (0)