Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
philippzagar committed Jul 27, 2021
1 parent b9b2aac commit 9667c53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/LoggingELK/LogstashLogHandler+Uploading.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ extension LogstashLogHandler {
)
}

// Wait until all HTTP requests finished
// Wait until all HTTP requests finished, then signal waiting threads
_ = EventLoopFuture<HTTPClient.Response>
.whenAllComplete(pendingHTTPRequests, on: self.eventLoopGroup.next())
.map { results in
Expand Down
2 changes: 1 addition & 1 deletion Sources/LoggingELK/LogstashLogHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public struct LogstashLogHandler: LogHandler {

// Set a "super-secret" metadata value to validate that the backgroundActivityLogger
// doesn't use the LogstashLogHandler as a logging backend
// Currently, this behavior isn't even possible, but maybe in future versions of the swift-log package
// Currently, this behavior isn't even possible in production, but maybe in future versions of the swift-log package
self[metadataKey: "super-secret-is-a-logstash-loghandler"] = .string("true")

// Check if backgroundActivityLogger doesn't use the LogstashLogHandler as a logging backend
Expand Down

0 comments on commit 9667c53

Please sign in to comment.