Skip to content

Commit 0ef9362

Browse files
committed
refactor: change logger to debug from info
1 parent 58c0768 commit 0ef9362

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/FSAppConfiguration/FSAppConfiguration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public struct FSAppConfiguration {
2323
public func getConsulStatus(by url: String, and path: String, for configuration: String) -> HTTPResponseStatus? {
2424
var status: HTTPResponseStatus?
2525
status = try? app.client.get(URI(string: url + path)).map { $0.status }.wait()
26-
self.app.logger.info("ConsulKV connection status - \(String(describing: status?.reasonPhrase)). Connection for consul by URL - \(url), and path - \(path), for - \(configuration)")
26+
self.app.logger.debug("ConsulKV connection status - \(String(describing: status?.reasonPhrase)). Connection for consul by URL - \(url), and path - \(path), for - \(configuration)")
2727
return status
2828
}
2929

Sources/FSAppConfiguration/FSAppConfigurationAsync.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public struct FSAppConfigurationAsync {
2323
public func getConsulStatus(by url: String, and path: String, for configuration: String) async -> HTTPResponseStatus? {
2424
var status: HTTPResponseStatus?
2525
status = try? await app.client.get(URI(string: url + path)).map { $0.status }.get()
26-
self.app.logger.info("ConsulKV connection status - \(String(describing: status?.reasonPhrase)). Connection for consul by URL - \(url), and path - \(path), for - \(configuration)")
26+
self.app.logger.debug("ConsulKV connection status - \(String(describing: status?.reasonPhrase)). Connection for consul by URL - \(url), and path - \(path), for - \(configuration)")
2727
return status
2828
}
2929

0 commit comments

Comments
 (0)