Skip to content

Commit bb2a146

Browse files
Fixed the logging level of some logs to one appropriate for libraries
1 parent de582f8 commit bb2a146

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/WebPush/WebPushManager.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ public actor WebPushManager: Sendable {
456456

457457
extension WebPushManager: Service {
458458
public func run() async throws {
459-
logger.info("Starting up WebPushManager")
459+
logger.debug("Starting up WebPushManager")
460460
guard !didShutdown else {
461461
assertionFailure("The manager was already shutdown and cannot be started.")
462462
logger.error("The manager was already shutdown and cannot be started. Run your application server in debug mode to catch this.")
@@ -465,7 +465,7 @@ extension WebPushManager: Service {
465465
try await withTaskCancellationOrGracefulShutdownHandler {
466466
try await gracefulShutdown()
467467
} onCancelOrGracefulShutdown: { [logger, executor] in
468-
logger.info("Shutting down WebPushManager")
468+
logger.debug("Shutting down WebPushManager")
469469
do {
470470
if case let .httpClient(httpClient) = executor {
471471
try httpClient.syncShutdown()

0 commit comments

Comments
 (0)